Exemple #1
0
        public static async Task <GIFColorTable> CreateColorTableAsync(GIFDecoderStreamReader stream, short size)
        {
            var colorTable = new GIFColorTable(size);
            await colorTable.ParseAsync(stream).ConfigureAwait(false);

            return(colorTable);
        }