Also make '%[x]' where 'x' is a single character work just like a normal '%x' . This currently does NOT work in IMv6 but will probably be backported to IMv6 first, so that using %[...] for all escapes will work even for single letter escapes. NOTE: %w and %[width] mean different things!
This was proposal 2, and was deems the most backward compatible. See...
http://www.imagemagick.org/Usage/bugs/I ... rcent.html
Other proposals are still present but will be commented out in the HTML shortly.
Example usage (This is a string arg not a geometry arg but it will illustrate what is happening) ....
Code: Select all
magick -size 100x100 xc: -print '45%x\n' null: # IMv6 will substitute, IMv7 will not substitute
45%x
magick -size 100x100 xc: -print '45%[h]\n' null: # falls in current IMv6 until backported
45100
magick -size 100x100 xc: -print '45x%h\n' null:
45x100
magick -size 100x100 xc: -print '%wx%h\n' null:
100x100