I have two images, one is the overlay, lets say Image A with transparency, and another image B, I have to place the overlay image A over image B, so that some part of image B is visible through the transparent part of image A, I also have to move the image B according to some parameters, How can I achieve this with image magick
I was able to achieve it by the following command
composite -compose Dst_Over -geometry 520x320+20+80 image.jpeg overlay.png final.png
the key here -compose Dst_Over, which puts the image under the background (overlay.png) and the geometry options let you move the image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With