Example #1
0
        public override ImageData Read(IBinaryStream file, ImageMetaData info)
        {
            var reader = new IpfReader(file, (IpfMetaData)info);
            var pixels = reader.Unpack();

            return(ImageData.Create(info, reader.Format, reader.Palette, pixels));
        }
Example #2
0
        public override ImageData Read(IBinaryStream file, ImageMetaData info)
        {
            var reader = new IpfReader(file, (IpfMetaData)info, this);

            return(reader.Image);
        }