strip anything, BUT ...

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
Lars-Daniel
Posts: 37
Joined: 2015-09-20T05:55:17-07:00
Authentication code: 1151

strip anything, BUT ...

Post by Lars-Daniel »

Is there a way to string anything, but profiles OR comments?
Right now, I'm extracting the profile, strip the file and re-add the profile.

All-in-one would be nice :)
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: strip anything, BUT ...

Post by Bonzo »

I believe -thumbnail will strip everything except the profile on later versions of IM.
Lars-Daniel
Posts: 37
Joined: 2015-09-20T05:55:17-07:00
Authentication code: 1151

Re: strip anything, BUT ...

Post by Lars-Daniel »

Bonzo wrote:I believe -thumbnail will strip everything except the profile on later versions of IM.
You're right!
Before IM v6.5.4-7 the "-thumbnail" would strip ALL profiles from the image, including the ICC color profiles. From this version onward the color profiles will be preserved. If the color profile is not wanted then "-strip" all profiles.
Thanks a lot.
Post Reply