Package com.logicaldoc.core.util
Class GhostUtil
- java.lang.Object
-
- com.logicaldoc.core.util.GhostUtil
-
public class GhostUtil extends Object
Utility method for using GhostScript- Since:
- 8.3.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description GhostUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<File>
print(File srcPdf, File dst, Integer page)
Prints a PDF file into a Jpeg image
-
-
-
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 filedst
- 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
-
-