From 19781f21bd985492562d15cfa156921e7f7ff079 Mon Sep 17 00:00:00 2001 From: josch Date: Mon, 21 Oct 2013 16:25:45 +0200 Subject: [PATCH] more verbose output --- img2pdf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/img2pdf.py b/img2pdf.py index 0601288..4dac12e 100755 --- a/img2pdf.py +++ b/img2pdf.py @@ -123,11 +123,13 @@ def main(images, dpi, title=None, author=None, creator=None, producer=None, dpi_x, dpi_y = dpi, dpi else: dpi_x, dpi_y = imgdata.info.get("dpi", (96, 96)) + debug_out("input dpi = %d x %d"%(dpi_x,dpi_y)) imgformat = imgdata.format if colorspace: color = colorspace else: color = imgdata.mode + debug_out("input colorspace = %s"%(color)) debug_out("width x height = %d x %d"%(width,height))