thumbnailator

Thumbnailator - a thumbnail generation library for Java

Github星跟蹤圖

February 11, 2020: Thumbnailator 0.4.9 has been released!
See Changes for details.

Thumbnailator is now available through
Maven!

What is Thumbnailator?

Thumbnailator is a thumbnail generation library for Java.

Why Thumbnailator?

Making high-quality thumbnails in Java can be a fairly difficult task.

Learning how to use the Image I/O API, Java 2D API, image processing,
image scaling techniques, ... but fear not! Thumbnailator will take care
of all those things for you!

Thumbnailator is a single JAR file with no dependencies to external libraries,
making development and deployment simple and easy. It is also available on
the Maven Central Repository for easy inclusion in Maven projects.

How simple is Thumbnailator?

Thumbnailator's fluent interface can be used to perform fairly complicated
thumbnail processing task in one simple step.

For example, creating JPEG thumbnails of image files in a directory, all
resized to a maximum dimension of 640 pixels by 480 pixels while preserving
the aspect ratio of the original image can be performed by the following:

Thumbnails.of(new File("path/to/directory").listFiles())
    .size(640, 480)
    .outputFormat("jpg")
    .toFiles(Rename.PREFIX_DOT_THUMBNAIL);

The fluent interface provided by the Thumbnailator simplifies the task of
making thumbnails into a single method call!

No need to access the Image I/O API and manually manipulate BufferedImages
through Graphics2D objects. Thumbnailator does all of that for you.

What can Thumbnailator do?

The following pages have more information on what Thumbnailator can do:

Disclaimer

Thumbnailator is still early in its development, and the APIs are subject to
change at any time.

主要指標

概覽
名稱與所有者coobird/thumbnailator
主編程語言Java
編程語言Java (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2015-07-25 13:38:33
推送於2025-10-03 00:27:29
最后一次提交2025-10-01 01:13:09
發布數43
最新版本名稱0.4.21 (發布於 )
第一版名稱0.2.0 (發布於 )
用户参与
星數5.3k
關注者數179
派生數798
提交數729
已啟用問題?
問題數215
打開的問題數50
拉請求數0
打開的拉請求數2
關閉的拉請求數10
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?