Skip to content

Latest commit

 

History

History
40 lines (19 loc) · 1.19 KB

File metadata and controls

40 lines (19 loc) · 1.19 KB

PDFGeneratorAPI.ConvertPDF2ImageRequest

Properties

Name Type Description Notes
file_base64 String Base64 encoded PDF file. Required if file_url is not provided. [optional]
file_url String Public HTTPS URL to a PDF file. Required if file_base64 is not provided. [optional]
format String Output image format [optional] [default to 'png']
quality Number Image quality (1-100) [optional] [default to 85]
resolution Number Image resolution in DPI (72-600) [optional] [default to 150]
pages String Page number or range to convert. Use a single number (e.g. "1") or a range (e.g. "1-4"). Defaults to all pages. [optional] [default to 'all']
output String Output format [optional] [default to 'base64']
name String Document name (max 120 characters). Auto-generated if not provided. [optional]

Enum: FormatEnum

  • png (value: "png")

  • jpeg (value: "jpeg")

  • jpg (value: "jpg")

Enum: OutputEnum

  • base64 (value: "base64")

  • file (value: "file")