I am currently using imagemagick (6.7.7-10) to create thumbnails and preview images from pdf files, and I am facing an issue with the scale option :
The command line I am using right now is :
Code: Select all
convert -auto-orient -density 196 -scale 800 -background white -alpha background inputPdfFile.pdf outputJpgFile.jpg
So this works well as it produces the expected jpg file, however with pdf with normal/small size fonts, the text in the output jpg is hardly readable.
And I noticed that if I am running the 2 following commands (that I thought would be a "split" version of the previous command line, using a temporary file), I obtain a much more readable result :
Code: Select all
convert -auto-orient -density 196 -background white -alpha background inputPdfFile.pdf tmp.jpg
convert -scale 800 tmp.jpg outputJpgFile.jpg
I would have expected the 1 line command and the 2 lines commands to produce the same result, and as the 2 lines commands gives me a better result, is there a way to achieve the same result with a 1 line command ? (and why such a difference between those ? something about some default value parameter maybe ?)
All suggestions are welcomed