public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } _imgc = _bitmaps[0].Bitmap; IMGC.Save(FileInfo.FullName, _imgc); }
public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _imgc = IMGC.Load(FileInfo.OpenRead()); _bitmaps = new List <BitmapInfo> { new BitmapInfo { Bitmap = _imgc } }; } }
public void Load(string filename) { FileInfo = new FileInfo(filename); if (FileInfo.Exists) { _imgc = new IMGC(FileInfo.OpenRead()); _bitmaps = new List <BitmapInfo> { new ImgcBitmapInfo { Bitmap = _imgc.Image, Format = _imgc.settings.Format.FormatName } }; } }