I need to use python wand (image-magick bindings for python) to create a composite image, but I'm having some trouble figuring out how to do anything other than simply copy pasting the foreground image into the background image. What I want is, given I have two images like:
and
both jpegs, I want to remove the white background of the cat and then paste it on the room. Answers for other python image modules, like PIL, are also fine, I just need something to automatize the composition process. Thanks in advance.
python composite image
yields many results (e.g. some PIL functions). As your question currently stands, I don't know how you want us to help. You might consider asking a more specific question after you have tried something. – Phototonus