projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2452bb7
)
Remove some warnings when building
author
mayeut
<mayeut@users.noreply.github.com>
Sun, 26 Jul 2015 17:19:31 +0000
(19:19 +0200)
committer
mayeut
<mayeut@users.noreply.github.com>
Sun, 26 Jul 2015 17:19:31 +0000
(19:19 +0200)
Update #442
src/bin/jp2/convertpng.c
patch
|
blob
|
history
diff --git
a/src/bin/jp2/convertpng.c
b/src/bin/jp2/convertpng.c
index abe86a64acf9dc32be4c57a20849a9f12ef4e66e..5a72d9fe392f6a8aba95d276926159c51b9e48f0 100644
(file)
--- 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 */