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

            _imga = _bitmaps[0].Bitmap;
            IMGA.Save(FileInfo.FullName, _imga);
        }
Example #2
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _imga = IMGA.Load(FileInfo.OpenRead());

                _bitmaps = new List <BitmapInfo> {
                    new BitmapInfo {
                        Bitmap = _imga
                    }
                };
            }
        }