Thumbnailator

  572 downloads
0.4.6 MIT/X Consortium License    
  not rated
A thumbnail generation library for Java

description

download

specifications

changelog

Thumbnailator is a thumbnail generation library for Java.

Making 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 make this operation possible.

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(Thumbnails.PREFIX_DOT_THUMBNAIL_RENAME);


The fluent interface provided by the Thumbnailator simplifies the task of making thumbnails into a single method call!
READ MORE   
Last updated on September 9th, 2013
1  
Thumbnailator

0 User reviews so far.

SUBMIT