Re: Rename image according to mean value
Posted: 2010-08-11T21:43:36-07:00
At one point (for a little while) -set option:size worked! But it stopped recently. It was never offical, which is why I never relied on it.
Here was an example that use to work...
For this type of thing to work many more image structure settings will need to be converted to either
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?
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?