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?".
IYIaster
Posts: 1 Joined: 2015-02-11T13:38:11-07:00
Authentication code: 6789
Contact:
Post
by IYIaster » 2015-02-11T13:42:26-07:00
I downloaded this sRGB image
http://www.wallpaperish.com/wp-content/ ... Meadow.jpg
I then tried to covert the image using Adobe's CMYK color profiles with the following command.
Code: Select all
"C:\Program Files\ImageMagick-6.9.0-Q16\convert.exe" Pink-Meadow.jpg -profile "C:\Program Files\ImageMagick-6.9.0-Q16\ICC Profiles\CMYK\USWebCoatedSWOP.icc" Pink-Meadow-cmyk.jpg
I then checked the colorspace using this command
Code: Select all
"C:\Program Files\ImageMagick-6.9.0-Q16\identify.exe" -verbose Pink-Meadow-cmyk.jpg | findstr Colorspace:
It still returns sRGB as the colorspace. I just started playing around with imagemagick and I'm sure I'm doing something wrong.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
Post
by fmw42 » 2015-02-11T13:59:55-07:00
The colorspace will show in the Properties as a profile.
your profile --- "C:\Program Files\ImageMagick-6.9.0-Q16\ICC should probably be "C:\Program Files\ImageMagick-6.9.0-Q16\sRGB.icc
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Contact:
Post
by snibgo » 2015-02-11T14:01:45-07:00
Your input doesn't have an embedded profile. The effect of the first "-profile" is to declare the current profile, and embed it in the image. A second (and third and fourth...) "-profile" then converts to the new profile, replacing the embedded one.
So you need something like:
Code: Select all
convert Pink-Meadow.jpg -profile sRGB.icc USWebCoatedSWOP.icc p.jpg
p.jpg is now CMYK.
Users browsing this forum: Ahrefs [Bot] , Google [Bot] and 5 guests