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 $
convertToThumbnail
Asset convertToThumbnail(Asset originalAsset,
int height,
float quality)
- converts the original image originalAsset to a thumbnail.
- Parameters:
originalAsset - the original imageheight - scale down to heightquality - 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.