Esempio n. 1
0
        public void Load(string filename)
        {
            var texiName = filename + "i";

            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _texi = new TEXI(FileInfo.OpenRead(), File.OpenRead(texiName));

                _bitmaps = _texi.bmps.Select(o => new BitmapInfo {
                    Bitmap = o
                }).ToList();
            }
        }
Esempio n. 2
0
        public void Load(string filename)
        {
            var texiName = filename + "i";

            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _texi = new TEXI(FileInfo.OpenRead(), File.OpenRead(texiName));

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