Actions21
- AI Actions
- Command Actions
- File Actions
- Metadata Actions
- PDF Actions
- Website Actions
File → Create Thumbnail
AI-generatedSummary
Create a thumbnail image from an input file with optional width, height, and fit mode settings.
Inputs
- Authentication (required) — Choose either OAuth2 (recommended) or API Key for authenticating the CloudConvert request.
- Output Format Name or ID (required) — Select the output thumbnail format from the list or specify its ID via expression.
- Binary Input Data (required) — Set to true to use binary input from the workflow, or false to provide input file content manually.
- Input File Contents (required) — Provide the text content of the input file to process when Binary Input Data is false.
- Input File Name (required) — Specify the name of the input file including its extension when Binary Input Data is false.
- Binary Property (required) — Name of the binary property that contains the input file data when Binary Input Data is true.
- Width — The desired width of the thumbnail in pixels.
- Height — The desired height of the thumbnail in pixels.
- Fit — The resizing method: 'Max' fits the image within dimensions without scaling up, 'Crop' fills and crops excess parts, 'Scale' forces exact dimensions by scaling.
- Additional Options — Provide extra task options as a JSON dictionary to customize the thumbnail creation job.
Output shape
binary file in thumbnail image format
Returns the thumbnail as a binary file attached to output items. The output filename and MIME type correspond to the chosen output format. Supports processing multiple input items, producing corresponding thumbnails for each.