convert to ADOBE rgb profile

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
peterbradd

convert to ADOBE rgb profile

Post by peterbradd »

I need to convert 132 cmyk images to rbg

I am using

mogrify -path /users/peter/desktop/temp2 -format jpg -colorspace Adobe RGB *.jpg

and recieve mogrify: unrecognized image colorspace `Adobe' @ mogrify.c/MogrifyImageCommand/4406.

if i leave adobe out image magick converts to sRGB

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

Re: convert to ADOBE rgb profile

Post by fmw42 »

-colorspace does not support profiles. you need to use -profile

see http://www.imagemagick.org/Usage/formats/#color_profile

If there is no embedded profile then the first "-profile" is the input profile. A second "-profile" then defines the output profile.
If there is an embedded profile then a single of "-profile" operator will immediately define the output profile.

And examples below that.

see links for download at http://www.adobe.com/cfusion/search/ind ... bergb.html

or look in any Adobe product, such as photoshop and it should be there

I just downloaded the mac version of RGB and CMYK from the link above.

Also do a google search for color profiles:

http://www.google.com/search?hl=en&sour ... aqi=g1&oq=
peterbradd

Re: convert to ADOBE rgb profile

Post by peterbradd »

ok thanks for that

i've downloaded adobergb1998.icc

i type
cd /users/peter/desktop/temp
mogrify -path /users/peter/desktop/temp2 -format jpg -profile adobeRGB1998.icc *.jpg

I receive
mogrify: unable to open image `*.jpg': No such file or directory @ blob.c/OpenBlob/2482.
janetbrand28

Re: convert to ADOBE rgb profile

Post by janetbrand28 »

I would like to ask if this: "cd /users/peter/desktop/temp
mogrify -path /users/peter/desktop/temp2 -format jpg -profile adobeRGB1998.icc *.jpg"
converts the photoshopped file into jpeg?
Schneeschuh
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert to ADOBE rgb profile

Post by Bonzo »

Try:

Code: Select all

convert input.psd[0] output.jpg
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert to ADOBE rgb profile

Post by fmw42 »

peterbradd wrote:ok thanks for that

i've downloaded adobergb1998.icc

i type
cd /users/peter/desktop/temp
mogrify -path /users/peter/desktop/temp2 -format jpg -profile adobeRGB1998.icc *.jpg

I receive
mogrify: unable to open image `*.jpg': No such file or directory @ blob.c/OpenBlob/2482.
As mentioned in your other post (viewtopic.php?f=1&t=15344), I believe your images are .jpeg and not .jpg, so you need to use .jpeg in your command


mogrify -path /users/peter/desktop/temp2 -format jpeg -profile adobeRGB1998.icc *.jpeg
Last edited by fmw42 on 2010-01-22T12:11:56-07:00, edited 1 time in total.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert to ADOBE rgb profile

Post by Bonzo »

A new poster Fred on a thread from last year :?
peterbradd

Re: convert to ADOBE rgb profile

Post by peterbradd »

I get

mogrify: unable to open file `adobeRGB1998.icc': No such file or directory @ blob.c/FileToBlob/830.

adobeRGB1998.icc is in my downloads folder. Does it have to be in a specific location?

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

Re: convert to ADOBE rgb profile

Post by snibgo »

Try using the full path of your downloaded profile: /my_downloads/adobeRGB1998.icc or whatever.
snibgo's IM pages: im.snibgo.com
peterbradd

Re: convert to ADOBE rgb profile

Post by peterbradd »

Macintosh:temp peter$ mogrify -path /users/peter/desktop/temp -format jpg -profile /users/peter/downloads/adobeRGB1998.icc *.jpg

returns

mogrify: delegate library support not built-in `/users/peter/desktop/temp/TyusAtPurnululu.jpg' (LCMS) @ profile.c/ProfileImage/897.

Images seem to have changed profile. what does response above mean?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: convert to ADOBE rgb profile

Post by snibgo »

It probably means your version of mogrify can't read or write jpg files.

Try:
mogrify -list format

It should have a ouple of lines like:
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format

What version are you running? (mogrify -version)
snibgo's IM pages: im.snibgo.com
peterbradd

Re: convert to ADOBE rgb profile

Post by peterbradd »

mageMagick 6.5.9-0
peterbradd

Re: convert to ADOBE rgb profile

Post by peterbradd »

JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (70)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (70)
Post Reply