Package com.logicaldoc.core.util
Class GhostUtil
java.lang.Object
com.logicaldoc.core.util.GhostUtil
Utility method for using GhostScript
- Since:
- 8.3.1
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
-
Method Details
-
print
Prints a PDF file into a Jpeg image using 150dpi resolution- 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 pagesdpi
- the resolution(e.g. 75, 150, 300)- Returns:
- list of page files
-
print
Prints a PDF file into a Jpeg image using 150dpi resolution- 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 page files
-