forked from josch/img2pdf
more verbose output
This commit is contained in:
parent
6d971a5245
commit
19781f21bd
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue