Here was an example that use to work...
Code: Select all
convert test.png -set option:size '%[fx:w]x%[fx:h]' +delete \
xc:Orange color_set_size.gif
- properties -set {prosperity} {value} which are attached to specific individual images
- artifacts -set option:{artifact} {value} or -define {artifact}={value} which are global settings.
NOTE: -define does NOT make use of 'percent escapes' Whcih is why I perfer to use -set method of settign artifacts, for example -set option:compose:args and -set option:distort:viewport
I would like to see more use of percent escapes in setting and operation arguments, such as I added to -distort and -sparse-color. In a re-write of "convert" I would make percent escapes very much more 'global' in use.
NOTE -set filename:{name} {value} is an in individual image property containing a colon in the property name. check it for yourself with info:
All thsi was being covered in Basics setion
http://www.imagemagick.org/Usage/basics/#attributes
But it needs a complete re-write from scratch!
Anyone like to have a go?