ImageTools.IO.Gif.GifDecoder.ReadFrameIndices C# (CSharp) Method

ReadFrameIndices() private method

private ReadFrameIndices ( GifImageDescriptor imageDescriptor ) : byte[]
imageDescriptor GifImageDescriptor
return byte[]
        private byte[] ReadFrameIndices(GifImageDescriptor imageDescriptor)
        {
            int dataSize = _stream.ReadByte();

            LZWDecoder lzwDecoder = new LZWDecoder(_stream);

            byte[] indices = lzwDecoder.DecodePixels(imageDescriptor.Width, imageDescriptor.Height, dataSize);
            return indices;
        }