Exemplo n.º 1
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _comp = new COMP(FileInfo.OpenRead());

                _bitmaps = _comp.bmps.Select(o => new BitmapInfo {
                    Bitmap = o
                }).ToList();
            }
        }
Exemplo n.º 2
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _comp = new COMP(FileInfo.OpenRead());

                var _bmpList = _comp.bmps.Select(o => new COMPBitmapInfo {
                    Bitmap = o, Format = _comp.settings.Format.FormatName
                }).ToList();
                _bitmaps = new List <BitmapInfo>();
                _bitmaps.AddRange(_bmpList);
            }
        }