mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -553,6 +553,7 @@ public class Img implements Serializable {
|
||||
Graphics2D graphics2d = targetImg.createGraphics();
|
||||
graphics2d.drawImage(image, 0, 0, width, height, width, 0, 0, height, null);
|
||||
graphics2d.dispose();
|
||||
|
||||
this.targetImage = targetImg;
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user