adobe.pdfservices.operation.pdfjobs.params.pdf_to_image package
Submodules
adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_output_type module
- class adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_output_type.ExportPDFToImagesOutputType(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
List of supported outputTypes for
ExportPDFToImagesJob
.- LIST_OF_PAGE_IMAGES = 'listOfPageImages'
Represents List Output type.
- ZIP_OF_PAGE_IMAGES = 'zipOfPageImages'
Represents Zip Output type.
- get_output_type()
- Returns:
output type.
adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_params module
- class adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_params.ExportPDFtoImagesParams(export_pdf_to_images_target_format: ExportPDFToImagesTargetFormat, export_pdf_to_images_output_type: ExportPDFToImagesOutputType)
Bases:
PDFServicesJobParams
Parameters for exporting a source PDF file to images using
ExportPDFToImagesJob
.Constructs a new
ExportPDFtoImagesParams
instance.- Parameters:
export_pdf_to_images_target_format (ExportPDFToImagesTargetFormat) – ExportPDFToImagesTargetFormat to which the source PDF file will be exported, can not be None.
export_pdf_to_images_output_type (ExportPDFToImagesOutputType) – ExportPDFToImagesOutputType to be used for Export PDF to Images, can not be None.
- get_export_pdf_to_images_output_type()
- Returns:
ExportPDFToImagesOutputType to be used for Export PDF to Images.
- Return type:
- get_export_pdf_to_images_target_format()
- Returns:
ExportPDFToImagesTargetFormat to which the source PDF file will be exported.
- Return type:
adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_target_format module
- class adobe.pdfservices.operation.pdfjobs.params.pdf_to_image.export_pdf_to_images_target_format.ExportPDFToImagesTargetFormat(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
Supported target formats for
ExportPDFToImagesJob
.- JPEG = 'jpeg'
Represents “image/jpeg” media type.
- PNG = 'png'
Represents “image/png” media type.
- get_file_ext()
- Returns:
file extension of this format.