[v2 PATCH 3/3] windowscodecs: Add support for palette image formats to PNG encoder.

Vincent Povirk madewokherd at gmail.com
Fri Jan 27 15:28:49 CST 2017


> +                else
> +                {
> +                    png_palette[i].red = 0;
> +                    png_palette[i].green = 0;
> +                    png_palette[i].blue = 0;
> +                }

Why is it necessary to pad the palette in this way? Couldn't you just
pass the appropriate number of colors?



More information about the wine-devel mailing list