Browse Source

REPORT-66853 老决策报表-没有勾选图片压缩,报表块设置图片主体填充,web预览时图片会模糊

1、修改了jpg图像的存储方式,使用原文件直接存储
security/10.0
Link.Zhao 3 years ago
parent
commit
3b28136dc3
  1. 2
      designer-base/src/main/java/com/fr/design/gui/frpane/ImgChooseWrapper.java

2
designer-base/src/main/java/com/fr/design/gui/frpane/ImgChooseWrapper.java

@ -105,7 +105,7 @@ public class ImgChooseWrapper {
} else {
BufferedImage image = BaseUtils.readImage(selectedFile.getPath());
String type = ImageUtils.getImageType(selectedFile);
imageWithSuffix = new ImageWithSuffix(image, type);
imageWithSuffix = new ImageWithSuffix(image, type, selectedFile.getPath());
}
CoreGraphHelper.waitForImage(imageWithSuffix);

Loading…
Cancel
Save