Example #1
0
        public override ImageInfo GetInfo(Chunk chunk, uint index)
        {
            Chunk parentChunk = chunk.Parent;

            ImageInfo info = new ImageInfo();

            info.X = 0;
            info.Y = 0;
            Size dims = SCUMMUtils.GetRoomDimensions(parentChunk);

            info.Width       = dims.Width;
            info.Height      = dims.Height;
            info.PixelFormat = PixelDepth.Depth8;

            GetPalette(chunk, parentChunk, info);

            return(info);
        }