Reference
Operations with a clear contract.
Each page describes one operation that is implemented in the shared pipeline contract. Examples are written for the current schema version, not a future feature list.
Convert and choose quality
Write PNG, JPEG, or WebP output and control lossy JPEG or WebP quality.
Read operation cropCrop an image
Crop an explicit rectangle or an anchored target area from a source image.
Read operation paddingAdd padding
Add transparent or colored space around an image with independently controlled sides.
Read operation resizeResize images
Limit image dimensions or create an exact canvas while declaring how the image should fit.
Read operation strip-metadataStrip metadata
Remove EXIF and unnecessary metadata from the output at the end of a pipeline.
Read operation trimTrim transparent borders
Remove unnecessary transparent borders from compatible images with an explicit alpha threshold.
Read operationThe operation union and validation rules live in packages/contracts/src/index.ts and packages/core/src/plan.ts.