Re: ImageMagick Mogrify: Apply vs. Convert to Profile
Re: ImageMagick Mogrify: Apply vs. Convert to Profile
- Subject: Re: ImageMagick Mogrify: Apply vs. Convert to Profile
- From: Rick Gordon <email@hidden>
- Date: Fri, 20 Jan 2017 01:16:48 -0800
It turns out that my best solution was to install exiftool, which can
embed a profile losslessly, and does not change the mod date either,
using this command:
exiftool "-icc_profile<=/PATH/TO/sRGB.icm" -overwrite_original TARGET_FILE
---
The answer I got in the forum
<http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=31264>
was this:
>
Both mogrify and convert will add the profile to the image or convert
from an existing profile to the new one. The image will be read, a new
profile added and then the image with the profile will be written to the
output, which could be the same as the input. But note, then image must
be read. You cannot just include a profile with an image without reading
the image first in IM. Perhaps some other tool would do this. If the
image is JPG (lossy compression), then it will lose some quality being
read and written again. Other formats that are not lossy compressed will
show no affect in quality. But you must allow some time for reading and
writing the image.
For only one image, use convert since it is more flexible than mogrify.
For many images in a folder that all need the profile, you can use
mogrify to process all the images in a folder using a wild card or you
can write a script loop over all the images in the folder and use
convert once for each image.
The syntax for each is different.
For mogrify, see http://www.imagemagick.org/Usage/basics/#mogrify
<<
Rick Gordon
--------------------
On 1/19/17, 6:44 PM Jeff Nova said:
I recommend asking on the IM discourse server. You'll likely get the
definitive response quickly. I've only used this with the convert
utility, never mogrify. I also always compile with LCMS2 and am not
sure if that matters. They will know. Good luck! Please share your
findings here!
Best,
Jeff
___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden