| commit | f46918d12990950d6d1fb1e9bd21b9f694cc4592 | [log] [tgz] |
|---|---|---|
| author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Fri Jun 02 05:31:20 2006 -0500 |
| committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Mon Apr 06 16:09:22 2009 -0500 |
| tree | 1fc9a6d46569d148e99423ad8887db0556bfae47 | |
| parent | 73b064c2af57a164115dc1df66c592ea0a172641 [diff] [blame] |
Imported from libpng-1.4.0beta6.tar
diff --git a/example.c b/example.c index 6d4ee81..fd7096e 100644 --- a/example.c +++ b/example.c
@@ -200,7 +200,7 @@ /* Expand paletted colors into true RGB triplets */ if (color_type == PNG_COLOR_TYPE_PALETTE) - png_set_palette_rgb(png_ptr); + png_set_palette_to_rgb(png_ptr); /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)