mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix poi
This commit is contained in:
@@ -507,7 +507,7 @@ public class Img implements Serializable {
|
||||
public Img pressImage(Image pressImg, Rectangle rectangle, float alpha) {
|
||||
final Image targetImg = getValidSrcImg();
|
||||
|
||||
this.targetImage = draw(ImgUtil.toBufferedImage(targetImg), pressImg, rectangle, alpha);
|
||||
this.targetImage = draw(ImgUtil.toBufferedImage(targetImg, this.targetImageType), pressImg, rectangle, alpha);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user