mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
80caef3135
commit
072a116b0b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user