bug修复

segment2.0
zhanglb 2 years ago
parent 6209a54c20
commit 646e19f80e

@ -150,8 +150,8 @@ public class FileUploadServiceImpl implements IFileUploadService {
int minX = image.getMinX();
int minY = image.getMinY();
int startY = height * widthStart.intValue();
int endY = height * (heightStart.intValue() - widthStart.intValue());
int startY = height /100 * widthStart.intValue();
int endY = height /100 * (heightStart.intValue() - widthStart.intValue());
//剪切
ImgUtil.cut(image, FileUtil.file(cutDest), new Rectangle(0, startY, width, endY));

Loading…
Cancel
Save