Created attachment 1055882 [details] FIX: Explicitly set output resolution of png file output Description of problem: Using pdftopng always results in a png file with a bogus resolution of 72ppi, regardless of what resolution the user requeste, nor the default value of 150ppi, Version-Release number of selected component (if applicable): 3.04 How reproducible: Always Steps to Reproduce: 1. Grab a pdf. 2. pdftopng -r 300 -f 1 -l 1 book.pdf out 3. identify -format "%xx%y %[units]" -units pixelsperinch out-000001.png Actual results: ImageMagick reports the png file resolution as 72x72 Expected results: ImageMagick should report the png file resolution to be 300x300. Additional info: pdftopng.cc:SetupPNG(...) does not try to set the resolution by calling libpng's png_set_pHY() *Patch included*
The garbage resolution data confuses Inkscape on import, resulting in erroneous page dimensions and screwing up the scale for measurements.
xpdf-3.04-11.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/xpdf-3.04-11.fc22
xpdf-3.04-11.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/xpdf-3.04-11.fc21
Package xpdf-3.04-11.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xpdf-3.04-11.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-12094/xpdf-3.04-11.fc21 then log in and leave karma (feedback).
Done.
xpdf-3.04-11.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
xpdf-3.04-11.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.