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://codercto.com/soft/d/14080.html

How to Design Programs

How to Design Programs

Matthias Felleisen、Robert Bruce Findler、Matthew Flatt、Shriram Krishnamurthi / The MIT Press / 2001-2-12 / 71.00美元

This introduction to programming places computer science in the core of a liberal arts education. Unlike other introductory books, it focuses on the program design process. This approach fosters a var......一起来看看 《How to Design Programs》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

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

RGB HEX 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具