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, document2swf
public void buildThumbnail(File src, String srcFileName, File dest, int size, int compression) throws IOException
ThumbnailBuilder
buildThumbnail
in interface ThumbnailBuilder
buildThumbnail
in class ImageThumbnailBuilder
src
- The source filesrcFileName
- The original file namedest
- The destination thumbnail filesize
- The thumbnail sizecompression
- Compression quality(0..100, 100 is maximum quality)IOException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.