Class VideoThumbnailBuilder
java.lang.Object
com.logicaldoc.core.document.thumbnail.AbstractThumbnailBuilder
com.logicaldoc.core.document.thumbnail.VideoThumbnailBuilder
- All Implemented Interfaces:
ThumbnailBuilder
Takes care of generating thumbnails for videos
- Since:
- 8.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VideoThumbnailBuilder
public VideoThumbnailBuilder()
-
-
Method Details
-
buildThumbnail
public void buildThumbnail(String sid, Document document, String fileVersion, File src, File dest, int size, int quality) throws IOException Description copied from interface:ThumbnailBuilder
Produce the thumbnail- Parameters:
sid
- The session identifier (optional)document
- The documentfileVersion
- Optional file version specsrc
- The source filedest
- The destination thumbnail filesize
- The thumbnail sizequality
- Compression quality(0..100, 100 is maximum quality)- Throws:
IOException
- raised when the image cannot be written
-