For example I can do the following (pseudocode):
Code: Select all
image.jpg ( -size 300x300 -annotate 0x0+0+0 "TEXT' -set option:textsize '%wx%h+0+0' ) ( -clone 0 -annotate 0x0+0+0 '%[textsize]' ) -composite
But I can't do the following:
Code: Select all
image.jpg ( -size 300x300 -annotate 0x0+0+0 "TEXT' -set option:textsize '%wx%h' ) ( -clone 0 -crop '%[textsize]' -blur 0x7 ) -composite
Is there any way to use variables (options) set with -set in -crop/-resize/etc and not only -label and -annotate?