public class ImageUtil extends Object
public static boolean changeSize(int newWidth,
int newHeight,
String filePath,
String outputPath,
String imageExtType)
throws IOException
newWidth - 新的宽度newHeight - 新的高度filePath - 文件源路径outputPath - 文件输出路径imageExtType - 输出文件类型IOExceptionCopyright © 2020. All rights reserved.