Skip to content
Advertisement

cropping an image in a circular way ang paste on another image, using python

I am trying to crop an image in python in circular shape. And I also want to paste that image on the top of another image, and then then then save the image in a desired format.

This is the image that I want to crop in circular way image1

This is how the image should be looked like after cropping image2

This is the image on which I want to paste the circular shaped image image3

This is my expected output image4

Here is the code, as far I tried

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement