mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-11-30 02:38:28 +08:00
fix: starter-fastdfs 生成水印图问题
This commit is contained in:
parent
fc0e31d527
commit
6ac6132dc0
@ -336,7 +336,7 @@ public class FastdfsService {
|
||||
ByteArrayOutputStream thumbOs = new ByteArrayOutputStream();
|
||||
ByteArrayOutputStream os = new ByteArrayOutputStream();
|
||||
try {
|
||||
BufferedImage bufferedImage = Images.addWatermark(image, watermark, opacity, pos, margin);
|
||||
BufferedImage bufferedImage = Images.addWatermark(is, waterIs, opacity, pos, margin);
|
||||
Images.write(bufferedImage, ext, os);
|
||||
byte[] waterFile = os.toByteArray();
|
||||
trackerServer = fastDfsClientPool.borrowObject();
|
||||
|
Loading…
Reference in New Issue
Block a user