public class ImageThumbnailBuilder extends AbstractThumbnailBuilder
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
CONVERT, SWF_DIRECT_CONVERSION_EXTS, SWFTOOLSPATH
Constructor and Description |
---|
ImageThumbnailBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
buildThumbnail(File src,
String srcFileName,
File dest,
int size,
int quality)
Produce the thumbnail
|
buildPreview, document2swf
public void buildThumbnail(File src, String srcFileName, File dest, int size, int quality) throws IOException
ThumbnailBuilder
src
- The source filesrcFileName
- The original file namedest
- The destination thumbnail filesize
- The thumbnail sizequality
- Compression quality(0..100, 100 is maximum quality)IOException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.