You almost have. Just need to put the clone processing into parentheses.

In command line (Unix), you would do

convert input.png \( +clone -modulate 110,0 -fill '#A1ECFF' -tint 100 
\) +append output.png



>Hello,
>
>Been struggling with this for a day or so, imagemagick noob that I am, but
>learn't something about imagemagick along the way at least :)
>
>What I'm trying to achieve is to have a final image that's two images stuck
>together, the original plus a modified version side by side (for use as a
>CSS 'sprite' in an image gallery index).
>
>I'm also trying to do this within the context of a php CMS called Drupal
>(specifically the imageapi/imagecache/imagecache_actions modules if anyones
>interested), which puts certain constraints on what I can do - I need to do
>this convert all in one command (preferably).
>
>I thought clone and append would help, something like this:
>
>convert input.png +clone -modulate 110,0 -fill '#A1ECFF' -tint 100 +append
>output.png
>
>but clone causes imagemagick to complain that 'clone requires a sequence'.
>I've played with separate, but only managed to use that on certain channels,
>not the whole image. And even then the append just seems to replace the
>image instead of adding to the original.
>
>So is there anyway to copy modify and append an image to its original using
>just convert, and all in one command?
>
>Or do I need to accept that this requires multiple convert operations at
>least, and quite possibly use use of other tools, such as montage?
>
>TIA
>
>Adrian
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to