Convertorio icon

Convertorio

Convert images between 20+ formats, generate PDF thumbnails, and extract text with AI-powered OCR

PDF Thumbnail

AI-generated

Summary

Generate a JPG thumbnail from a PDF document

Inputs

  • binaryPropertyName (required) — Name of the binary property containing the PDF file to process
  • thumbnailWidth — Width of the thumbnail in pixels (range 50-2000), default 800
  • thumbnailCrop — Portion of the PDF page to capture, expressed as a preset value (full, half, third, quarter, two-thirds), default full
  • outputBinaryPropertyName — Name of the binary property where the generated thumbnail will be stored

Output shape

JSON object containing success metadata and a binary payload

The binary payload is written to the outputBinaryPropertyName field; for a single-page thumbnail it is a single JPG image

Examples

Example 1: Create a thumbnail from a PDF uploaded in the 'data' field and store it in 'thumb'

binaryPropertyName=data, thumbnailCrop=full, thumbnailWidth=800, outputBinaryPropertyName=thumb

Example 2: Capture only the top half of the first page and save as 'smallThumb'

binaryPropertyName=data, thumbnailCrop=half, thumbnailWidth=600, outputBinaryPropertyName=smallThumb

Example 3: Generate a 1500-pixel wide thumbnail and store it under the default 'data' property

binaryPropertyName=data, thumbnailWidth=1500, thumbnailCrop=third, outputBinaryPropertyName=data

Discussion