Strange conversion differences

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Jayman
Posts: 3
Joined: 2013-01-09T09:23:49-07:00
Authentication code: 6789

Strange conversion differences

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Strange conversion differences

Post by snibgo »

I would guess the third machine is running different software. What versions of OS, IM, gs are the three machines on?
snibgo's IM pages: im.snibgo.com
Jayman
Posts: 3
Joined: 2013-01-09T09:23:49-07:00
Authentication code: 6789

Re: Strange conversion differences

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Strange conversion differences

Post by snibgo »

Code: Select all

convert -verbose filename.pdf filename.jpg
IM 6.6.anything really is rather old.
snibgo's IM pages: im.snibgo.com
Jayman
Posts: 3
Joined: 2013-01-09T09:23:49-07:00
Authentication code: 6789

Re: Strange conversion differences

Post by Jayman »

PC 3 is using GS 9.06. Perhaps I'll upgrade GS on PC 2 to see if that is the issue.
Post Reply