mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
266f6ae785
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
11 lines
480 B
Diff
11 lines
480 B
Diff
--- rd/read-png.c.orig 2010-05-27 17:30:21.883639928 -0300
|
|
+++ rd/read-png.c 2010-05-27 17:33:27.385641448 -0300
|
|
@@ -69,7 +69,7 @@
|
|
if (h->color_type == PNG_COLOR_TYPE_PALETTE)
|
|
png_set_palette_to_rgb(h->png);
|
|
if (h->color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
|
|
- png_set_gray_1_2_4_to_8(h->png);
|
|
+ png_set_expand_gray_1_2_4_to_8(h->png);
|
|
|
|
if (png_get_bKGD(h->png, h->info, &file_bg)) {
|
|
png_set_background(h->png,file_bg,PNG_BACKGROUND_GAMMA_FILE,1,1.0);
|