> > I propose STACK:N as the "built-in" name, > > We use mpr: for this purpose. You can write an image with -write mpr:tile, > for example, and refer to it later as -tile mpr:tile. Writing mpr: is > practically free since only the address of the image is noted, no image is > actually written.
Fabulous, that is even better (to use a name of one's choice). I take it that mpr: is undocumented (until now)? By the way, is the doc right on -write? "The image sequence following the -write filename option is written out, and processing continues with the same image in its current state if there are additional options. To restore the image to its original state after writing it, use the +write filename option." It seems to me that the image sequence *preceding* the -write should be (and is) written. convert ( -size 50x50 xc:#aabbcc -fill blue -draw "polygon 7,38, 32,4 32,46 7,12 47,25 " -write mpr:mystar ) -size 500x500 xc:#ffcccc -tile mpr:mystar - draw "polygon 49,396 327,14 327,486 49,104 498,250" -delete 0 filled.png It works beautifully. This is a terrific ImageMagick enhancement. How long have you been keeping it from me? By the way, -clone seems to be alphabetically misplaced in the doc file command-line-options.html (as of ImageMagick 6.2.9 09/27/06). Rick _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
