If you want to add the obtained user Avatar information to the poster as a watermark, you must save the avatar first and then crop it into a circle and add it to the poster to generate a new picture. is square, how does it become a circle? If you want to add the obtained user Avatar information to the poster as a watermark, you must save the avatar first and then crop it into a circle and add it to the poster to generate a new image.
The obtained Avatar is square. how does it become a circle?
Reply content:
If you want to add the obtained user Avatar information to the poster as a watermark, you must save the avatar first and then crop it into a circle and add it to the poster to generate a new image.
The obtained Avatar is square. how does it become a circle?
Use border-radius.
Agree with the idea above. for example, if you use IE8 to open site B, your profile picture is square, because IE8 does not support the radius-border attribute.