convert -colorspace Linux - OSX problem

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
kraffi

convert -colorspace Linux - OSX problem

Post by kraffi »

Hello,

when I make a "convert -colorspace RGB -density 288 preview.pdf -resize 100% preview.jpg" on OSX it work´s,
but on Linux the -colorspace option don´t work.

Why?

best regards,

kraffi
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -colorspace Linux - OSX problem

Post by fmw42 »

convert -colorspace RGB -density 288 preview.pdf -resize 100% preview.jpg
This may not be relevant to your colorspace issue, but to have two output images, the first needs to be preceded by -write

convert -colorspace RGB -density 288 -write preview.pdf -resize 100% preview.jpg
Drarakel
Posts: 547
Joined: 2010-04-07T12:36:59-07:00
Authentication code: 8675308

Re: convert -colorspace Linux - OSX problem

Post by Drarakel »

preview.pdf is the input file. :wink:

@kraffi: What do you mean with "the -colorspace option don't work"?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -colorspace Linux - OSX problem

Post by fmw42 »

Drarakel wrote:preview.pdf is the input file. :wink:
You are right. I don't know what I was thinking. DOH! :oops:
kraffi

Re: convert -colorspace Linux - OSX problem

Post by kraffi »

after the convert -colorspace on OSX the jpg - File colors are darker.
On Linux the File colors are the same.

Can gs produce the error, because on Linux is an older gs - Version as on OSX?
Post Reply