summaryrefslogtreecommitdiff
path: root/pdf/pdf_image.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-07 03:21:25 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-07 03:21:25 +0200
commit6294585ac2dfe73654a9ac5965517219e4ea7ede (patch)
tree82523e3b737cf4303679beb7fba586b7dc9db63b /pdf/pdf_image.c
parentb3c8fbeb0dbb2c4b4ed767b7917ada9fa31b353a (diff)
downloadmupdf-6294585ac2dfe73654a9ac5965517219e4ea7ede.tar.xz
pdf: Purge unmaintained debug/log printing messages.
Diffstat (limited to 'pdf/pdf_image.c')
-rw-r--r--pdf/pdf_image.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pdf/pdf_image.c b/pdf/pdf_image.c
index 0b2f2547..fbd88f01 100644
--- a/pdf/pdf_image.c
+++ b/pdf/pdf_image.c
@@ -219,8 +219,6 @@ pdf_load_image_imp(fz_pixmap **imgp, pdf_xref *xref, fz_obj *rdb, fz_obj *dict,
p[i] = ~p[i];
}
- pdf_log_image("size %dx%d n=%d bpc=%d imagemask=%d indexed=%d\n", w, h, n, bpc, imagemask, indexed);
-
/* Unpack samples into pixmap */
tile = fz_new_pixmap(colorspace, 0, 0, w, h);
@@ -273,14 +271,10 @@ pdf_load_inline_image(fz_pixmap **pixp, pdf_xref *xref, fz_obj *rdb, fz_obj *dic
{
fz_error error;
- pdf_log_image("load inline image {\n");
-
error = pdf_load_image_imp(pixp, xref, rdb, dict, file, 0);
if (error)
return fz_rethrow(error, "cannot load inline image");
- pdf_log_image("}\n");
-
return fz_okay;
}
@@ -308,8 +302,6 @@ pdf_load_jpx_image(fz_pixmap **imgp, pdf_xref *xref, fz_obj *dict)
fz_pixmap *img;
fz_obj *obj;
- pdf_log_image("jpeg2000\n");
-
colorspace = NULL;
error = pdf_load_stream(&buf, xref, fz_to_num(dict), fz_to_gen(dict));
@@ -363,15 +355,11 @@ pdf_load_image(fz_pixmap **pixp, pdf_xref *xref, fz_obj *dict)
return fz_okay;
}
- pdf_log_image("load image (%d 0 R) {\n", fz_to_num(dict));
-
error = pdf_load_image_imp(pixp, xref, NULL, dict, NULL, 0);
if (error)
return fz_rethrow(error, "cannot load image (%d 0 R)", fz_to_num(dict));
pdf_store_item(xref->store, fz_keep_pixmap, fz_drop_pixmap, dict, *pixp);
- pdf_log_image("}\n");
-
return fz_okay;
}