Exemple #1
0
        public void Save(string filename = "")
        {
            if (filename.Trim() != string.Empty)
            {
                FileInfo = new FileInfo(filename);
            }

            _imgc = _bitmaps[0].Bitmap;
            IMGC.Save(FileInfo.FullName, _imgc);
        }
Exemple #2
0
        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
                    }
                };
            }
        }
Exemple #3
0
        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
                    }
                };
            }
        }