summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--codec/convert.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index a27b2cb7..c1a83433 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@ What's New for OpenJPEG
+ : added
January 9, 2011
+- [antonin] removed forgotten debug info in imagetopnm().
+
+January 9, 2011
! [antonin] imagetopnm() has been rewritten to allow 16-bits precision, and PAM (P7) support. See Netpbm for more info. (patch from szukw000).
January 7, 2011
diff --git a/codec/convert.c b/codec/convert.c
index bbd718b7..e336f98f 100644
--- a/codec/convert.c
+++ b/codec/convert.c
@@ -1295,9 +1295,6 @@ int imagetopnm(opj_image_t * image, const char *outfile)
want_gray = (*tmp == 'g' || *tmp == 'G');
ncomp = image->numcomps;
-fprintf(stderr,"%s:%d:ncomp(%d) opj_prec(%d) prec(%d)\n",
-__FILE__,__LINE__,ncomp,opj_prec,prec);
-
if (ncomp > 2
&& image->comps[0].dx == image->comps[1].dx
&& image->comps[1].dx == image->comps[2].dx