problems converting images to pdf

Bug #248329 reported by DirkP
6
Affects Status Importance Assigned to Milestone
imagemagick (Debian)
Fix Released
Unknown
imagemagick (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: imagemagick

when I convert an image to a pdf-document with imagemagick 6.3.7 like this:

convert testpic.jpg output.pdf

When you open the pdf in Ghostview, the image is only small in the lower left corner. For my understanding it has something to do with papersize in that PDFbecause when you change in manualy in Ghostview the image streches to the whole site. But saving with this setting has no effekt.

option like:
convert -page A4 testpic.jpg output.pdf
has also no effect.

This bug has also a bad impact on the thumbnailview in Konqueror, because also the thumbnails have the small picture only in lower left side.

I also installed Graphicsmagick on the same machine and it produced correct pdfs, so the problem should not be located in Ghostscript, which is responsible for the pdf conversion and is used from both .

Testing the on a WindowsPC with Imagemagick 6.2.9 produced also correct pdf-documents. So I am pretty sure that it is a special problem inside of the 6.3.7 version of Imagemagick.

Maybe somebody can update to the current Version 6.4.2-1.

thanks in advance

Revision history for this message
DirkP (highbeta) wrote :
Revision history for this message
Jack Jones (jackmate) wrote :

I experienced basically the same problem, using ImageMagick 6.3.7. I solved it with the -density switch, so the command line would look like this:

convert -density 150 testpic.jpg output.pdf

So, the paper size finally depends on the density. Beside this, it still is a bug because ImageMagick should use the image's density by default or fall back to a default value if the image doesn't have any.

However, I opened DirkP's output.pdf with evince, it looks perfectly normal (see attached screenshot).

Changed in imagemagick (Ubuntu):
status: New → Fix Released
Changed in imagemagick (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.