B
B
Bogdan Buchko2022-02-18 16:54:16
Image processing
Bogdan Buchko, 2022-02-18 16:54:16

How to crop image by cola?

How can I crop an image so that it is round and overlay it on another photo.
I'm making a command that will display a user's card, and I need to display the avatar, but so that it is round (a square avatar does not look good). I am outputting user data to an image via the PIL library. In the documentation, I only found how to cut out a square.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bogdan Buchko, 2022-02-18
@INDMops

Answer from retUrn3d :
https://ru.stackoverflow.com/questions/581788/%D0%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question