Constructs a new CompressPDFJob
instance.
The parameters for constructing an instance of CompressPDFJob
.
Asset object containing the input file. Cannot be undefined.
Optional
outputAsset object representing the output asset.
Optional
params?: CompressPDFParamsCompressPDFParams object containing the compression level.
External assets can be set as output only when input is external asset as well.
Private
Optional
Readonly
_compressPDFParamsPrivate
Readonly
_inputPrivate
Optional
Readonly
_outputPrivate
generatePDFServicesAPIRequestOptional
notifyConfigList: NotifierConfig[]Protected
validateGenerated using TypeDoc
A job that reduces the size of a PDF file. Allows specifying CompressionLevel for compressing PDF
Example
Sample Usage: