I'm compositing a large number of small images onto various positions of a large image and I'm running into memory issues and inefficiency. The number of composites is in the thousands, but the actual number of files generating the small images is relatively small. Each small image is resized via the size specified within the -draw string (e.g., to size 60x60 here:)
Code: Select all
-draw "image Darken 100,100 60,60 'tile117.jpg'"
Code: Select all
convert -size 6000,8175 xc:white -draw @drawstrings.txt out.png
I could use virtual images via mpr: but that doesn't seem permissible (or is it?) within a -draw string, which seems to accept only a filename.
Any ideas? (I'll be working on a Perl script in the meantime, but it would be nice to have such options on the command line.)
Thanks,
Rick