If you mean that percent escapes in "define" does not expand percent escapes when used in IMv6, WHEN it is actually used...
That is just a 'new feature' of IMv7 coming from the same cade that is used to set 'labels' on images as they are read in (a IMv6 feature expanded to more general use).
For example in IMv6... This worked...
Code: Select all
convert -label '%wx%h' logo: rose: -format '%l\n' info:
640x480
70x46
With the label being assigned to the images as they are read in... Converting from a global artifact to per-image properity
Code: Select all
convert -label '%wx%h' logo: rose: \
-format "__Properties__\n%[*]__Artifacts__\n%[artifact:*]\n" \
info:
__Properties__
date:create=2016-12-16T16:07:51+10:00
date:modify=2016-12-16T16:07:51+10:00
label=640x480
__Artifacts__
filename=rose:
format=__Properties__\n%[*]__Artifacts__\n%[artifact:*]\n
get-property=480
label=%wx%h
__Properties__
date:create=2016-12-16T16:07:51+10:00
date:modify=2016-12-16T16:07:51+10:00
label=70x46
__Artifacts__
filename=rose:
format=__Properties__\n%[*]__Artifacts__\n%[artifact:*]\n
get-property=46
label=%wx%h
BUT the -"label" (which is just a "-define label" did not interpret the percent escape.
IMv7 however expands percent escapes for ALL artifacts -- matched to the image it is destined for -- when it is requested.
So when distort asked for a "viewport" and it failed to find a "viewport" properity for a specific image it will get then get the global artifact "viewport" but with percent escapes updated to that specific image.
WHY did I do this?
That means if you have a sequence of say 20 images. you can give a global define (with a percent escaped formula that is calculated) for ALL the images, but then have a specific setting for just ONE of the images (pre-calculated) overriding the global default.
Basically it made sense (in the ligt of way label works) to have -define use 'delayed percent escapes'. It had to be done, so I made it more general.
It is just that this did not get back ported to IMv6, and it may not be even possible to do this! The two just work differently.