From 15e4168ee2c23b1a1ee41a9020601459e607b630 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 26 Jul 2015 19:19:31 +0200 Subject: [PATCH] Remove some warnings when building Update #442 --- src/bin/jp2/convertpng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/jp2/convertpng.c b/src/bin/jp2/convertpng.c index abe86a64..5a72d9fe 100644 --- a/src/bin/jp2/convertpng.c +++ b/src/bin/jp2/convertpng.c @@ -406,8 +406,8 @@ int imagetopng(opj_image_t * image, const char *write_idf) PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); png_set_sBIT(png, info, &sig_bit); - //png_set_gamma(png, 2.2, 1./2.2); - //png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL); + /* png_set_gamma(png, 2.2, 1./2.2); */ + /* png_set_sRGB(png, info, PNG_sRGB_INTENT_PERCEPTUAL); */ png_write_info(png, info); /* setup conversion */