Class GhostUtil


  • public class GhostUtil
    extends Object
    Utility method for using GhostScript
    Since:
    8.3.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • GhostUtil

        public GhostUtil()
    • Method Detail

      • print

        public static List<File> print​(File srcPdf,
                                       File dst,
                                       Integer page)
        Prints a PDF file into a Jpeg image
        Parameters:
        srcPdf - The original file
        dst - The output image(in case of multiple page more files are created named dstName-xxx.dstExtension)
        page - The page to print or null to print all the pages.
        Returns:
        list of files