+profile and icc: properties

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

+profile and icc: properties

Post by snibgo »

This is after a thread: viewtopic.php?f=3&t=31625

The "+profile *" operation correctly removes embedded profiles. However, it doesn't remove associated properties "icc:copyright" etc. This is a possible source of confusion.

I suggest that either:

(a) "+profile *" should also remove properties associated with profiles (or just that particular profile, if the profile is named, but I'm not sure if that is possible).

OR

(b) an option is provided to selectively strip properties, for example:

Code: Select all

-strip-property "icc:*"
snibgo's IM pages: im.snibgo.com
Post Reply