public interface ConvertPdfService
Modifier and Type | Method and Description |
---|---|
List<Document> |
toImage(Document inPdfDoc,
ToImageOptionsSpec toImageOptionsSpec)
This method converts a PDF document to a List of Image documents.
|
Document |
toPS(Document inPdfDoc,
ToPSOptionsSpec toPSOptionsSpec)
This method converts the given Flat PDF file to PostScript format using the
options specified in the option spec.
|
Document toPS(Document inPdfDoc, ToPSOptionsSpec toPSOptionsSpec) throws ConvertPdfException
inPdfDoc
- Document
object for the source PDFtoPSOptionsSpec
- ToPSOptionsSpec
option specDocument
The document object for the output PostScript
file.ConvertPdfException
List<Document> toImage(Document inPdfDoc, ToImageOptionsSpec toImageOptionsSpec) throws ConvertPdfException
inPdfDoc
- - PDF document to be converted to ImagetoImageOptionsSpec
- - This bean holds various preferences for
image conversions.
Following preferences can be set. Default values will be used incase no value
is supplied.
The following table lists the valid values:
ConversionFormat | JPEG, JPEG2K, PNG, TIFF (Required) |
GrayScale Compression | Minimum,Low,Medium,High,Maximum,Lossless,LZW,Zip,None |
Color Compression | Minimum,Low,Medium,High,Maximum,Lossless,LZW,Zip,None |
JPEG Format | Baseline Standard,Baseline Optimized,3 scans,4 scans,5 scans |
RGB Policy | Embed Profile,Off |
CMYK Policy | Embed Profile,Off |
GrayScale Policy | Embed Profile, Off |
Color Space | RGB,CMYK,Gray Scale |
Resolution | 72,96,150,300,600,1200,2400 |
Tile Size | |
Interlace | None,Adam7 |
PNG Filter | None,Sub,Up,Average,Paeth,Adaptive |
Monochrome | None,CCIT G3,CCITT G4,LZW,Zip |
Multipage Tiff | True, False |
List
, the list of image Document
objects.ConvertPdfException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.