Esempio n. 1
0
        public override ImageData Read(IBinaryStream file, ImageMetaData info)
        {
            var reader = new TanReader(file, (TanMetaData)info);
            var pixels = reader.UnpackFrame(0);

            return(ImageData.Create(info, reader.Format, reader.Palette, pixels));
        }
Esempio n. 2
0
        protected override ImageData GetImageData()
        {
            var pixels = m_reader.UnpackFrame(m_frame);

            return(ImageData.Create(Info, m_reader.Format, m_reader.Palette, pixels));
        }