List Info

Thread: newby ?dumb question




newby ?dumb question
country flaguser name
United States
2007-02-15 07:32:21
How does one apply an ICM color profile to an image using
imagemagick on
the command line. I want to modify the image via the
profile, not add
the profile data to the image file. I could only find
reference to doing
this in the api docs, not via the commandline.

TIA

Russ Butler

_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

Re: newby ?dumb question
country flaguser name
United Kingdom
2007-02-15 09:39:16
Lets see if I have this right, perhaps someone on the list
will 
correct me if I am wrong.

convert -strip file.jpg 	# remove all profiles

# add a profile to file newfile.jpg.
convert -profile path_to_icc_file file.jpg newfile.jpg 

# Convert between profiles
convert -profile srgb.icm -profile Adobe1998.icc newfile.jpg

converted.jpg 

I am fairly confident that last command will convert the
profile in 
newfile.jpg and the resulting file, converted.jpg, will be
in the new 
colour space, converting the colours and not assigning
them.


HTH,
Dp.



On 15 Feb 2007 at 8:32, Russ Butler wrote:

> How does one apply an ICM color profile to an image
using imagemagick on
> the command line. I want to modify the image via the
profile, not add
> the profile data to the image file. I could only find
reference to doing
> this in the api docs, not via the commandline.
> 
> TIA
> 
> Russ Butler
> 
> _______________________________________________
> Magick-users mailing list
> Magick-usersimagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick
-users


_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )