projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
14361ee
)
commented out printf line
author
Antonin Descampe
<antonin@gmail.com>
Fri, 3 Jul 2015 15:36:39 +0000
(17:36 +0200)
committer
Antonin Descampe
<antonin@gmail.com>
Fri, 3 Jul 2015 15:36:39 +0000
(17:36 +0200)
src/bin/jp2/convert.c
patch
|
blob
|
history
diff --git
a/src/bin/jp2/convert.c
b/src/bin/jp2/convert.c
index 9868ce3668fd7c1c22b8c12bb61f42252508a813..92e043b6d0aed7f71d266e65c084c74cdaf48252 100644
(file)
--- a/
src/bin/jp2/convert.c
+++ b/
src/bin/jp2/convert.c
@@
-2962,8
+2962,8
@@
int imagetopng(opj_image_t * image, const char *write_idf)
png_set_packing(png);
}
// printf("%s:%d:sgnd(%d,%d,%d) w(%d) h(%d) alpha(%d)\n",__FILE__,__LINE__,
-image->comps[0].sgnd,
-image->comps[1].sgnd,image->comps[2].sgnd,width,height,has_alpha);
+
//
image->comps[0].sgnd,
+
//
image->comps[1].sgnd,image->comps[2].sgnd,width,height,has_alpha);
adjustR = (image->comps[0].sgnd ? 1 << (image->comps[0].prec - 1) : 0);
adjustG = (image->comps[1].sgnd ? 1 << (image->comps[1].prec - 1) : 0);