exec("/usr/bin/composite img.png source.jpg -displace 50 output.png");
I would like to get the displace image. I don't want the source image.
The displace effect is looking good. How do i get that image alone?

According to this example,composite {displacement_map} {input_image} -displace {X}x{Y} {result}
Code: Select all
-repage +{X}+{Y} -background {COLOR} -flatten
agriz wrote: There is lot and lot to learn in imagemagick