Java 图像缩放类库 imgscalr

码农软件 · 软件分类 · 图形/图像处理 · 2019-09-07 14:59:53

软件介绍

imgscalr 是一个对图片进行缩放的 Java 类库。

示例代码:

import static org.imgscalr.Scalr.*;
 
public static BufferedImage createThumbnail(BufferedImage img) {
  // Create quickly, then smooth and brighten it.
  img = resize(img, Method.SPEED, 125, OP_ANTIALIAS, OP_BRIGHTER);
 
  // Let's add a little border before we return result.
  return pad(img, 4);
}

本文地址:https://www.codercto.com/soft/d/14080.html

Microsoft Windows程序设计

Microsoft Windows程序设计

佩措尔德 / 章立民 / 华中科技 / 2004-1 / 118.00元

Charles Petzold是全球最权威且知名的Windows程序设计专家,他将其最畅销Programming Microsoft Windows with C#一书加以改写,使之能完全适用于Visual Basic.NET的开发人员。这位畅销书的作家示范了如何使用Visual Basic.NET将Windows Forms的功能发挥到极致(Windows Forms是新一代的Windows程序......一起来看看 《Microsoft Windows程序设计》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试