Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation 'Process Image' under the 'Miscellaneous' resource allows users to process images by applying various transformations such as format conversion, resizing, and quality adjustment. It accepts an input image as a base64 payload, HTTPS URL, or local path and processes it according to specified parameters. This is useful for workflows that require image manipulation, such as preparing images for web use, generating thumbnails, or converting image formats.
Use Case Examples
- Convert an image from JPG to PNG format with specific width and height.
- Resize an image to fit within given dimensions while maintaining aspect ratio.
- Adjust image quality and convert to a different format like WEBP or TIFF.
Properties
| Name | Meaning |
|---|---|
| File | The input image file to process, provided as a base64 payload, HTTPS URL, or local path. |
| Additional Fields | A collection of optional parameters to customize the image processing, including format conversion, resizing dimensions, fit mode, and quality settings. |
Output
JSON
json- The processed image data or metadata returned from the API after processing the image.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API to authenticate requests.
Troubleshooting
- Ensure the input 'File' parameter is correctly formatted as base64, a valid HTTPS URL, or a local file path; invalid inputs will cause errors.
- If resizing parameters are set incorrectly (e.g., zero or negative values), the image processing may fail or produce unexpected results.
- Unsupported image formats or conversion targets may result in errors; verify supported formats (PNG, JPG, JPEG, WEBP, TIFF, AVIF).
- Network issues or invalid API credentials will prevent successful API calls; verify connectivity and credentials.
Links
- WARest API - Process Image - Official documentation for the image processing API endpoint used by this node.
