Thumbnailator 0.3.7 Publish thumbnail tool

Source: Internet
Author: User
Keywords Thumbnailato thumbnail tool thumbnail build library
Tags based can generate code directory file files google google+

Thumbnailator is a thumbnail build library that is smoother for the Java interface. By simplifying the thumbnail process from the APIs that provide existing image files and image objects, two or three lines of code can generate thumbnails from existing pictures and allow fine-tuning of thumbnail builds while maintaining the minimum amount of code that needs to be written. It also supports batch generation of thumbnails based on a directory.

The Thumbnailator 0.3.7 version adds a smooth tool to the thumbnail interface.

Action Demo (http://code.google.com/p/thumbnailator/wiki/Examples):

Create a thumbnail in the image document:

Thumbnails.of (New File ("Original.jpg")
. Size (160, 160)
. ToFile (New File ("thumbnail.jpg");

Create a thumbnail of the rotation and watermark:

Thumbnails.of (New File ("Original.jpg")
. Size (160, 160)
. Rotate (90)
. Watermark (Positions.bottom_right, Imageio.read (New File ("Watermark.png"), 0.5f)
. Outputquality (0.8f)
. ToFile (New File ("image-with-watermark.jpg");

Download Address:

http://code.google.com/p/thumbnailator/downloads/detail?name=Thumbnailator-0.3.7.jar&can=2&q=

http://code.google.com/p/thumbnailator/downloads/detail?name=Thumbnailator-0.3.7-all.jar&can=2&q=

http://code.google.com/p/thumbnailator/downloads/detail?name=Thumbnailator-0.3.7-javadoc.zip&can=2&q=

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.