Skip to content
Registry

image-resize

v0.1.13-alpha.1

III engine image resize worker (JPEG/PNG/WebP, EXIF orient, scale-to-fit / crop-to-fit)

imagejpegmediapngresizewebp

Install

bash
iii trigger compose::add worker=image-resize@0.1.13-alpha.1

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions1

image_resize::resize

Function

Resize an image via channel I/O

Request
  • input_channelobjectrequired

    StreamChannelRef (read) carrying metadata text + image binary

  • metadataobject

    Optional inline ImageMetadata override

    • formatstringenum jpeg, png, webp

      Source image format

    • heightinteger
    • output_formatstringenum jpeg, png, webp

      Desired output format (defaults to source format)

    • qualityinteger
    • strategystringenum scale-to-fit, crop-to-fit
    • target_heightinteger
    • target_widthinteger
    • widthinteger
  • output_channelobjectrequired

    StreamChannelRef (write) for thumbnail output

Response
  • formatstring
  • heightinteger
  • strategystring
  • widthinteger

Triggers0

No triggers registered

Search the registry

Find workers, kits and executables, or jump to a page.