Information provided in this section is from a previous version of Thumbnailator, and does not reflect the current version of the software. For current information, please visit the Thumbnailator project.
Thumbnailator is a collection of Java classes and applications designed to produce thumbnail images. Many features for creating thumbnails are provided through Thumbnailator.
Thumbnailator provides a high-quality thumbnail generating facility which resizes existing images to produce good looking thumbnails. Below is a comparison of an image which was resized using a non-Thumbnailator application (left) to a Thumbnailator application (right).
Normal resizing |
Thumbnailator resizing |
Thumbnailator allows embedding of a watermark or logo in a thumbnail image. The watermark can be positioned either in one of the four corners and in the center. It can also be positioned in an arbituary location in the image with the watermark also resized as well.
The position of the watermark is defined as constants in the
TGenerator
class.
Watermark position: top-left |
Watermark position: top-right |
Watermark position: bottom-left |
Watermark position: bottom-right |
Watermark position: center |
Watermark position: arbituary |
Thumbnailator allows the embedding of watermarks such as logos with varying opacity from 0% to 100%, where 0% is transparent and 100% is opaque.
10% Opacity |
50% Opacity |
100% Opacity |
Thumbnailator can resize an existing image to a desired dimension to create a thumbnail.
40x30 thumbnail |
80x60 thumbnail |
160x120 thumbnail |
The rendering quality of the thumbnail can be selected from multiple quality modes. They are a tradeoff of speed and quality of the resulting thumbnail.
The quality modes are defined as constants in the TGenerator
class.
Highest Quality |
High Quality |
Medium Quality |
Low Quality |
Fast Mode |
When generating a thumbnail, the original image can be rotated by 90 degrees clockwise or counter-clockwise or 180 degrees.
The rotation is defined as constants in the TGenerator
class.
No rotation |
90 degrees clockwise |
180 degrees |
90 degrees counter-clockwise |
160x120 Aspect ratio preserved |
160x80 |
80x120 |