summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-07-26 19:19:31 +0200
committermayeut <mayeut@users.noreply.github.com>2015-07-26 19:19:31 +0200
commit15e4168ee2c23b1a1ee41a9020601459e607b630 (patch)
treed0ea9ce4128d4a4f78e2646adedfc4e5d31f7976 /src/bin
parent2452bb7c45256c82b895ab25875aa3d77aedf90d (diff)
Remove some warnings when building
Update #442
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jp2/convertpng.c4
1 files 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 */