• Joined on
Loading Heatmap…

j3ff commented on issue josch/img2pdf#181

Incorrect page size with different resolutions in x and y directions

> So for the cases of handling PNG files without resolution units defined, I guess you could trying querying `aspect` and set `dpi` when saving the image. This was a good tip. Thanks. My code…

6 months ago

j3ff commented on issue josch/img2pdf#181

Incorrect page size with different resolutions in x and y directions

This is all part of a python rewrite of gscan2pdf. I'm using img2pdf to create the PDFs before using OCRmyPDF to add the text layer. I'm manipulating the images internally with PIL, and am…

6 months ago

j3ff commented on issue josch/img2pdf#181

Incorrect page size with different resolutions in x and y directions

Thanks for the workaround. I confirm that it also produces the expected result on ImageMagick 6.9.11. It would be good to have a better fix, however, rather than running problematic images…

6 months ago

j3ff opened issue josch/img2pdf#181

Incorrect page size with different resolutions in x and y directions

6 months ago