> You can merge these command using...
>
>    convert -density 171 logo.eps photo.jpg +swap \
>            -compose bumpmap -gravity southeast -composite result.jpg

Smart, but difficult to understand...

I looked up the examples at your website using the swap command.
(I found out that you can find this certain subject most easily by googling for "ImageMagick examples swap". The first hit is the according section of your website. The same holds for any other IM command.)

My problem with the swap command is that it is not clear what exactly is swaped and where '+swap' has to be placed in the command line. There are hardly any basic examples and the explanation of the swap command in the IM help pages is even worse.

If we look at the above command line
"convert -density 171 logo.eps"
provides us with some intermediate image, say <II>.

"composite photo.jpg <II>  -compose bumpmap -gravity southeast result.jpg"
Would give the final result, as well as
"convert photo.jpg <II> \
    -compose bumpmap -gravity southeast -composite result.jpg"
would give.

So I guess that "swap" tells IM to generate an Intermediate result and use it as the second input image for the next operation.

Again: Is there any detailed explanation of this command somewhere?

Wolfgang Hugemann



_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to