Home > Backend Development > PHP Tutorial > How to turn the user avatar obtained by php WeChat into a circle?

How to turn the user avatar obtained by php WeChat into a circle?

WBOY
Release: 2016-09-24 09:03:15
Original
1427 people have browsed it

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?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template