Пример #1
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _rawjtex = new RawJTEX(FileInfo.OpenRead());

                _bitmaps = new List <BitmapInfo> {
                    new BitmapInfo {
                        Bitmap = _rawjtex.Image
                    }
                };
            }
        }
Пример #2
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _rawjtex = new RawJTEX(FileInfo.OpenRead());

                var _bmpList = new List <BitmapInfo> {
                    new RawJTEXBitmapInfo {
                        Bitmap = _rawjtex.Image, Format = _rawjtex.settings.Format.FormatName
                    }
                };
                _bitmaps = new List <BitmapInfo>();
                _bitmaps.AddRange(_bmpList);
            }
        }