compressImg(String sourceFilePath, Float quality, Integer width, Integer height);
- sourceFilePath是源文件路径 required
- quality是压缩的质量,值在0到1之间
- width是压缩后的width
- height是压缩后的height
compressImg(File sourceFile, Float quality, Integer width, Integer height);
- sourceFile是源文件 required
compressImg(InputStream srouceInput, String formatName, Float quality, Integer width, Integer height);
- srouceInput是源文件流 required
- formatName是源文件后缀 required
待完善