dognose wrote:How would I "add transparency to edge of one image" ?
You create a gradient image, and set that as the overlay images alpha channel.
That is actually what the 3 image blend is currently doing, though that is not what it should be doing (for overlay the current method works well, just not for other composition methods) Of course your IM is not doing either, so you need to DIY it.
Code: Select all
compose overlay_image.jpg mask_image.jpg \
+matte -compose CopyOpacity -composite \
\( background_image.jpg ...add space for overlay image... \) \
+swap -geometry +Xoffset+0 +compose -composite \
save_image.jpg
You still need to create your mask, (which I think may be smaller than the image it is being added to, not sure) add space to the background image to fit the new one, if needed, and supply the Xoffset for the overlay. But that is basically it.