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
|
dpi_x, dpi_y = dpi, dpi
|
||||||
else:
|
else:
|
||||||
dpi_x, dpi_y = imgdata.info.get("dpi", (96, 96))
|
dpi_x, dpi_y = imgdata.info.get("dpi", (96, 96))
|
||||||
|
debug_out("input dpi = %d x %d"%(dpi_x,dpi_y))
|
||||||
imgformat = imgdata.format
|
imgformat = imgdata.format
|
||||||
if colorspace:
|
if colorspace:
|
||||||
color = colorspace
|
color = colorspace
|
||||||
else:
|
else:
|
||||||
color = imgdata.mode
|
color = imgdata.mode
|
||||||
|
debug_out("input colorspace = %s"%(color))
|
||||||
|
|
||||||
debug_out("width x height = %d x %d"%(width,height))
|
debug_out("width x height = %d x %d"%(width,height))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue