Imagemagick 6.7.7 conversion from rgb pdf to cmyk pdf looks dark

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
triveni
Posts: 2
Joined: 2015-05-27T22:13:33-07:00
Authentication code: 6789

Imagemagick 6.7.7 conversion from rgb pdf to cmyk pdf looks dark

Post by triveni »

I am using Imagemagick 6.7.7 on ubuntu 14.04.2 ,I am converting a rgb pdf to cmyk pdf it looks dark but it is working fine on Imagemagick 6.6.6. I am using below command.

convert tp_rgb.pdf -verbose -density 300 -colorspace CMYK tp_cmyk.pdf
How can we fix that,can any help me on this.

Thanks
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Imagemagick 6.7.7 conversion from rgb pdf to cmyk pdf looks dark

Post by snibgo »

That is a very old version of IM. I suggest you upgrade. Also upgrade Ghostscript.

At that time, IM was a bit confused about linear and non-linear colorspaces. For that version, one of these might cure the problem:

Code: Select all

convert tp_rgb.pdf -verbose -density 300 -evaluate Pow 2.2 -colorspace CMYK tp_cmyk.pdf
... or ...

Code: Select all

convert tp_rgb.pdf -verbose -density 300 -evaluate Pow 0.454545 -colorspace CMYK tp_cmyk.pdf
snibgo's IM pages: im.snibgo.com
triveni
Posts: 2
Joined: 2015-05-27T22:13:33-07:00
Authentication code: 6789

Re: Imagemagick 6.7.7 conversion from rgb pdf to cmyk pdf looks dark

Post by triveni »

yes it seems to be working thanks but still checking..
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Imagemagick 6.7.7 conversion from rgb pdf to cmyk pdf looks dark

Post by fmw42 »

IM was undergoing some major changes in the range of 6.7.7 and everything was not worked out until later. See viewtopic.php?f=4&t=21269
Post Reply