diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 17:36:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 17:36:39 -0600 |
commit | 3e27b07ff572b00aa5f013f039c3f63593016816 (patch) | |
tree | 2afe055640db67d28c4870f81540338e81ef1b75 /digikam/libs/greycstoration | |
parent | b9419cd5ed26f4ed70b882243cc4bd8a6f19797e (diff) | |
download | digikam-3e27b07ff572b00aa5f013f039c3f63593016816.tar.gz digikam-3e27b07ff572b00aa5f013f039c3f63593016816.zip |
Fix FTBFS due to png code
This closes Bug 595
Diffstat (limited to 'digikam/libs/greycstoration')
-rw-r--r-- | digikam/libs/greycstoration/CImg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/digikam/libs/greycstoration/CImg.h b/digikam/libs/greycstoration/CImg.h index e240f99..714920e 100644 --- a/digikam/libs/greycstoration/CImg.h +++ b/digikam/libs/greycstoration/CImg.h @@ -29449,7 +29449,7 @@ namespace cimg_library { new_bit_depth = 8; } if (new_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8){ - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); new_bit_depth = 8; } if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) |