Page 1 of 1

Strange conversion differences

Posted: 2013-01-09T09:45:35-07:00
by Jayman
I am trying to convert PDFs to JPGs. For the most part I am having no problems doing so using the following command:

Code: Select all

convert -density 150 filename.pdf -scale 1000x1000 filename.jpg
In fact, this always works on two machines. It is only on a third machine that it does not work as expected. On this third machine the black lines around table cells and the black text do not appear in the JPG. Gray lines around table cells do appear. I can't identify anything different about the third machine to even investigate further. Does anyone have any idea on what might be causing this or have suggestions of things to look for?

As a possible work-around I decided to try the following command:

Code: Select all

convert -density 150 filename.pdf -resize 1000x1000 filename.jpg
This works as expected on all three machines. What I don't understand is why resize works but scale does not. Any ideas?

Any help or pointers would be appreciated. Thanks.

Re: Strange conversion differences

Posted: 2013-01-09T10:22:44-07:00
by snibgo
I would guess the third machine is running different software. What versions of OS, IM, gs are the three machines on?

Re: Strange conversion differences

Posted: 2013-01-09T10:51:21-07:00
by Jayman
PC 1
  • OS: Windows 7
  • IM: 6.7.6-Q16
  • GS: 9.05, 9.06
PC 2
  • OS: Windows XP
  • IM: 6.6.1-5 Q8
  • GS: 8.71
PC 3
  • OS: Windows XP
  • IM: 6.6.1-5 Q8
  • GS: 8.63, 8.64, 9.06
How do we know what version of GhostScript ImageMagick is using?

Re: Strange conversion differences

Posted: 2013-01-09T11:02:07-07:00
by snibgo

Code: Select all

convert -verbose filename.pdf filename.jpg
IM 6.6.anything really is rather old.

Re: Strange conversion differences

Posted: 2013-01-09T11:46:41-07:00
by Jayman
PC 3 is using GS 9.06. Perhaps I'll upgrade GS on PC 2 to see if that is the issue.