Page 1 of 1
How to strip everything except color profile (jpeg)?
Posted: 2009-07-06T12:08:18-07:00
by vertigo72
What's the right way to remove EXIF, comments and other similar stuff from a JPEG, while keeping the color profile?
Is the option " +profile exif " sufficient for this purpose or there are more options to add?
Re: How to strip everything except color profile (jpeg)?
Posted: 2009-07-06T14:27:18-07:00
by Bonzo
Try -strip
Re: How to strip everything except color profile (jpeg)?
Posted: 2009-07-06T22:57:38-07:00
by vertigo72
-strip removes everything, including color profiles
Re: How to strip everything except color profile (jpeg)?
Posted: 2009-07-07T19:01:18-07:00
by anthony
I have not tried this but it may work.
You can save profiles to files. So I suggest you read the image, save the color profile data, then in a new command strip all profiles and read in the color profile again.
See IM Examples, Common File Formats, Image Profiles
http://www.imagemagick.org/Usage/formats/#profiles