/**
* 传入的图像必须是正方形的 才会 圆形 如果是长方形的比例则会变成椭圆的
* @return
* @throws IOException
*/
public static BufferedImage convertCircular(BufferedImage bi1) throws IOException {
// 透明底的图片
BufferedImage bi2 = new BufferedImage(bi1.getWidth(), bi1.getHeight
BufferedImage将任意图片转换成圆形图片
最新推荐文章于 2023-06-28 12:18:59 发布