Anyone please explain me below command.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
carol1988
Posts: 2
Joined: 2018-05-10T20:50:57-07:00
Authentication code: 1152

Anyone please explain me below command.

Post by carol1988 » 2018-05-10T20:56:07-07:00

Code: Select all

convert ./one.mpc ./two.mpc ./three.mpc -channel rgba -alpha on -virtual-pixel background -background none -define compose:args=6000x254.91 -compose displace -composite ./one.mpc
What I understood is it takes three images and apply all the effects on all three images and finally merge into one.
Thank

User avatar
fmw42
Posts: 23441
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Anyone please explain me below command.

Post by fmw42 » 2018-05-10T21:32:28-07:00

It is doing a displacement map. The first image is to be displaced and the next two are the X and Y displacement map images that tells how much to displace the first image. See

http://www.imagemagick.org/Usage/mapping/#displace_2d
http://www.imagemagick.org/script/compose.php (displace at the bottom section of the page)

Post Reply