Interface ThumbnailBuilder

    • Method Detail

      • buildThumbnail

        void buildThumbnail​(String sid,
                            Document document,
                            String fileVersion,
                            File src,
                            File dest,
                            int size,
                            int quality)
                     throws IOException
        Produce the thumbnail
        Parameters:
        sid - The session identifier (optional)
        document - The document
        fileVersion - Optional file version spec
        src - The source file
        size - The thumbnail size
        dest - The destination thumbnail file
        quality - Compression quality(0..100, 100 is maximum quality)
        Throws:
        IOException - raised when the image cannot be written