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