hello
I'm playing around with imagemagick a bit
i need to make a conversion where rectangular images are resized and
placed on top of a white square (so the output image is square).
on the commandline i come up with something like this:

 convert -composite -size 100x100 xc:white recatangular_image.jpg
-gravity center square_image.jpg

where recatangular_image.jpg  is the input, and square_image.jpg is the
output.


Is there any way to get this into a template string for the image tag?
(like is there a placeholder for the input image?

regards,

Ernst

-----------
Ernst Bunders
Ontwikkelaar nieuwe media Vara
tel: 035 6711653
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to