public class PdfThumbnailBuilder extends ImageThumbnailBuilder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PdfThumbnailBuilder.Worker |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
CONVERT, SWF_DIRECT_CONVERSION_EXTS, SWFTOOLSPATH| Constructor and Description |
|---|
PdfThumbnailBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildThumbnail(File src,
String srcFileName,
File dest,
int size,
int compression)
Produce the thumbnail
|
protected void |
renderPage(File src,
File dst,
int page) |
buildPreview, document2swfpublic void buildThumbnail(File src, String srcFileName, File dest, int size, int compression) throws IOException
ThumbnailBuilderbuildThumbnail in interface ThumbnailBuilderbuildThumbnail in class ImageThumbnailBuildersrc - The source filesrcFileName - The original file namedest - The destination thumbnail filesize - The thumbnail sizecompression - Compression quality(0..100, 100 is maximum quality)IOExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.