Ilyworks icon

Ilyworks

Transform images and video with the Ilyworks media API

Image → Upload & Transform

AI-generated

Summary

Upload a binary image file and apply specified transformations such as resizing, format conversion, cropping, and various image effects, then return the transformed image.

Inputs

  • Binary Property (required) — Name of the binary property containing the image file to upload
  • Width — Output width in pixels; set to 0 to keep original width
  • Height — Output height in pixels; set to 0 to keep original height
  • Format — Output image format; options include AVIF, GIF, JPEG, PNG, and WebP
  • Fit — Method to fit the image within the specified dimensions (e.g., cover, contain, smart crop, fill, inside, outside)
  • Quality — Output image quality on a scale from 1 to 100
  • Additional Options — Various optional image adjustments including auto-trim whitespace, background color, blur, border color/width, brightness, contrast, corner radius, flip, flop, grayscale, hue, negate, padding, rotation, saturation, sepia, sharpen, tint, and watermark text and position

Output shape

a single record containing JSON response from the Ilyworks API

The response includes details about the uploaded and transformed image; the operation sends the image as binary from the specified binary property, applies transformations according to the parameters, and returns the API response as JSON.

Examples

Example 1: Upload a binary image from the workflow input named 'data', resize it to 800x600 pixels with JPEG format and quality 90, applying a watermark text 'Sample' in the southeast position

Set Binary Property to 'data', Width to 800, Height to 600, Format to 'jpeg', Quality to 90, and Additional Options with Watermark Text as 'Sample' and Watermark Position as 'southeast'

Links

Discussion