/**
* @see Scalr#resize(BufferedImage, Method, Mode, int, int,
* BufferedImageOp...)
*/
public static Future<BufferedImage> resize(final BufferedImage src, final Method scalingMethod,
final Mode resizeMode, final int targetWidth, final int targetHeight, final BufferedImageOp... ops)
throws IllegalArgumentException, ImagingOpException {
checkService();
return service.submit(new Callable<BufferedImage>() {
public BufferedImage call() throws Exception {
return Scalr.resize(src, scalingMethod, resizeMode, targetWidth, targetHeight, ops);
}
});
}
AsyncScalr.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录