Пример #1
0
        public ColorModeData Read(Stream stream)
        {
            var colorModeData = new ColorModeData();
            var reader        = new BigEndianBinaryReader(stream);

            colorModeData.Length = reader.ReadInt32();
            colorModeData.Offset = stream.Position;

            stream.Position += colorModeData.Length;

            return(colorModeData);
        }
 internal void Cleanup()
 {
     AlphaChannel.Dispose();
     ColorModeData.Dispose();
 }