dpi parameter has no effect #15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By josch on 2015-03-15T09:41:51.503Z
Created by: ekianjo
I tried specifying different dpi arguments to the script but it does not make any difference in the final pdf, no matter if I choose a very low dpi or a high one (i tried from 10 to 300). Am I doing something wrong ?
Imported comments:
By josch on 2013-10-20 18:07:38 UTC
What difference do you expect? It changes the size of the pdf MediaBox. If you can show an instance where this does not happen, then please show an example.
By ekianjo on 2013-10-21 00:49:57 UTC
I expected that reducing the dpi would make the overall pdf quality worse, for example, in terms of picture resolution. Actually there is no difference no matter which dpi figure I input as parameter in terms of quality.
By josch on 2013-10-21 04:51:33 UTC
The point of img2pdf is to convert images into pdf format whithout any quality loss at all. The term dpi means "dots per inch" so while the number of pixels stays the same, those pixels are stretched over a differently sized area for different dpi settings. Had you checkedd how big your pdf was in terms of width/height you would've seen a difference.