Trim
Auto-crops transparent edges from an image, tightening the bounding box around visible content.
Trim detects the edges of an image and crops them away, leaving only the visible content plus an optional padding margin. Three modes are available: Transparent (default) trims pixels based on alpha transparency, Top-Left Color trims pixels matching the top-left corner’s color, and Bottom-Right Color trims pixels matching the bottom-right corner’s color. A tolerance slider controls how close a pixel’s color must be to count as a match.
This is typically used early in a pipeline to normalize sizing before applying effects, ensuring every variant starts from a tight crop.
Parameters
Section titled “Parameters”Transform
Trim source: Transparent Pixels / Top-Left Color / Bottom-Right Color
In alpha mode: pixels with alpha above this are kept (0=any visible). In color mode: Euclidean RGBA distance tolerance (0=exact match)
Extra pixels to keep around trimmed content
Transparent Pixels mode trims based on the alpha channel. Top-Left Color and Bottom-Right Color modes trim pixels matching the chosen corner's color within the tolerance. Label changes to "Tolerance" in color modes.
Usage Tips
Section titled “Usage Tips”- Use Trim right after Image In to remove extra transparent space from source assets.
- Add a few pixels of padding to keep a safety margin around the content.
- A threshold of 0 keeps any pixel with alpha > 0; raise it to also trim nearly-invisible pixels.
- Use Top-Left Color or Bottom-Right Color mode to trim solid-color backgrounds (e.g., white or black borders) from images without transparency.