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

NameTypeDescriptionNotes
file_base64StringBase64 encoded PDF file. Required if file_url is not provided.[optional]
file_urlStringPublic HTTPS URL to a PDF file. Required if file_base64 is not provided.[optional]
formatStringOutput image format[optional] [default to 'png']
qualityNumberImage quality (1-100)[optional] [default to 85]
resolutionNumberImage resolution in DPI (72-600)[optional] [default to 150]
pagesStringPage 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']
outputStringOutput format[optional] [default to 'base64']
nameStringDocument 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")