Transparent needed in newer version of IM?

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
mapdude

Transparent needed in newer version of IM?

Post by mapdude »

Trying to convert postscript files to jpegs; on one machine with ImageMagick 6.5.9 Q16 installed, the marginalia (which is supposed to be visible) is blacked out. On another machine with ImageMagick 6.3.1 QB installed it works properly. I'm using the following command on both machines:

Code: Select all

convert -contrast-stretch 1% -geometry 250 -quality 90 -density 144 loc.ps ..\*target_fire_ID*_loc_250.jpg
Am I supposed to include some sort of -transparent switch in the newer version of IM?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Transparent needed in newer version of IM?

Post by anthony »

JPG does not understand transparency!

See JPG Transparency - NOT!
http://www.imagemagick.org/Usage/format ... #jpg_trans

Also look at; Basics, Remove Alpha Transparency
http://www.imagemagick.org/Usage/basics/#alpha_remove
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
mapdude

Re: Transparent needed in newer version of IM?

Post by mapdude »

But why different results in the different versions? Does this mean the alpha transparency wasn't applicable in earlier versions and now I need to include it while using a newer version of IM?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Transparent needed in newer version of IM?

Post by fmw42 »

jpg never supported transparency. it is not an IM thing.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Transparent needed in newer version of IM?

Post by anthony »

On the other hand the newer JPEG2000 image file format does support transparency (or so I'm told).
But that is not the JPEG format that most people use.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply