Class PdfToImageService


  • public class PdfToImageService
    extends AbstractDocumentToImageService
    This service is responsible for the conversion of PDF Documents to a list of images
    • Field Detail

      • gsExe

        protected java.lang.String gsExe
      • gsProcessLogDir

        protected java.io.File gsProcessLogDir
      • timeoutInMs

        protected int timeoutInMs
    • Constructor Detail

      • PdfToImageService

        public PdfToImageService​(java.lang.String gsExe,
                                 java.io.File gsProcessLogDir,
                                 int timeoutInMs)
    • Method Detail

      • getTimeoutInMs

        public int getTimeoutInMs()
      • setTimeoutInMs

        public void setTimeoutInMs​(int timeoutInMs)
      • convertDocToPng

        public void convertDocToPng​(java.io.File documentFile,
                                    java.io.File workingDir)
                             throws java.lang.Exception
        Specified by:
        convertDocToPng in class AbstractDocumentToImageService
        Throws:
        java.lang.Exception