Home >Backend Development >PHP Tutorial >How to turn the user avatar obtained by php WeChat into a circle?
If you want to paste the obtained user avatar information on the poster as a watermark, instead of displaying it directly, you need to save the avatar first and then crop it into a circle and add it to the poster to generate a new picture
The obtained avatar is a square , how to turn it into a circle?