Skip to content

Commit

Permalink
新增图片导出说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangjiaju committed Feb 8, 2023
1 parent b8ec940 commit 14cc4d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public void imageWrite() throws Exception {
String fileName = TestFileUtil.getPath() + "imageWrite" + System.currentTimeMillis() + ".xlsx";

// 这里注意下 所有的图片都会放到内存 暂时没有很好的解法,大量图片的情况下建议 2选1:
// 1. 将图片上传到oss 或者其他存储网站: https://www.aliyun.com/product/oss
// 1. 将图片上传到oss 或者其他存储网站: https://www.aliyun.com/product/oss ,然后直接放链接
// 2. 使用: https://github.com/coobird/thumbnailator 或者其他工具压缩图片

String imagePath = TestFileUtil.getPath() + "converter" + File.separator + "img.jpg";
Expand Down

0 comments on commit 14cc4d7

Please sign in to comment.