pdf conversion: pdf 10 times bigger

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ffcw
Posts: 2
Joined: 2014-02-21T04:30:39-07:00
Authentication code: 6789

pdf conversion: pdf 10 times bigger

Post by ffcw »

hi,
**problem:
since the last update of imagemagick (6.8.6.6 > 6.8.8.5) the jpg-to-pdf-conversion somehow broke: when I convert jpg files into pdf (regardless of being single or multiple ones), the resulting pdf file is more than 10 times larger than the original jpg(s). e.g. JPG 1,5MB > PDF 20MB.
**expected:
before the update they were as expected, roughly the same size like the jpgs.
**related problem:
additionally, the 'quality' option yields no result at all. regardless of setting it to 1 or 100, the resulting pdf has the same size and image quality.
**workaround
when I downgraded imagemagick again, the conversion worked perfectly, like before.
**system
Gentoo Linux 64bit, kernel 3.10.25
I'm sorry that it is beyond my understanding to figure if this bug is a distribution or upstream problem. Just FYI, the named update of imagemagick on Gentoo also included a new dependency: mupdf was pulled in. I don't know if that could have triggered the problem here (see also the thread in the Gentoo forums: http://forums.gentoo.org/viewtopic-t-984618.html).
thanks,
mathias
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: pdf conversion: pdf 10 times bigger

Post by magick »

Try adding -compress jpeg to your command line (e.g. convert image.jpg -compress jpeg logo.pdf).
ffcw
Posts: 2
Joined: 2014-02-21T04:30:39-07:00
Authentication code: 6789

Re: pdf conversion: pdf 10 times bigger

Post by ffcw »

thanks, magick. that additional option restored the original behaviour. so obviously some defaults changed between 6.8.6 and 6.8.8...
Post Reply