mirror of
https://gitee.com/shuto-github/intranet_app_manager.git
synced 2026-05-27 00:00:14 +08:00
修改变量名
This commit is contained in:
@@ -37,14 +37,14 @@ public class ImageUtils {
|
||||
|
||||
/**
|
||||
* 重置图片大小
|
||||
* @param soureFilePath
|
||||
* @param sourceFilePath
|
||||
* @param targetFilePath
|
||||
* @param height
|
||||
* @param width
|
||||
*/
|
||||
public static void resize(String soureFilePath, String targetFilePath, int width, int height) {
|
||||
public static void resize(String sourceFilePath, String targetFilePath, int width, int height) {
|
||||
try {
|
||||
File input = new File(soureFilePath);
|
||||
File input = new File(sourceFilePath);
|
||||
File output = new File(targetFilePath);
|
||||
output.mkdirs();
|
||||
BufferedImage image = ImageIO.read(input);
|
||||
|
||||
Reference in New Issue
Block a user