org.chenillekit.tapestry.core.services
Interface ThumbNailService

All Known Implementing Classes:
ThumbNailServiceImpl

public interface ThumbNailService

Version:
$Id: ThumbNailService.java 594 2009-12-05 15:17:26Z mlusetti $

Method Summary
 Asset convertToThumbnail(Asset originalAsset, int height, float quality)
          converts the original image originalAsset to a thumbnail.
 String getThumbnailPath()
          get the path where generated thumbnail should stored.
 

Method Detail

convertToThumbnail

Asset convertToThumbnail(Asset originalAsset,
                         int height,
                         float quality)
converts the original image originalAsset to a thumbnail.

Parameters:
originalAsset - the original image
height - scale down to height
quality - reduce to the given image quality
Returns:
the thumbnail of the original image

getThumbnailPath

String getThumbnailPath()
get the path where generated thumbnail should stored.

Returns:
thumbnail path


Copyright © 2008-2011 ChenilleKit. All Rights Reserved.