Actions19
Border
AI-generatedSummary
Adds a solid border around an input image, using the configured horizontal width, vertical height, and color. The border is added equally to the left and right, and to the top and bottom; the processed image is returned as binary data.
Inputs
- Input Property Name (required) — Binary property containing the source image; defaults to
data. - Border Width — Border thickness in pixels on both the left and right sides; defaults to 10.
- Border Height — Border thickness in pixels on both the top and bottom sides; defaults to 10.
- Border Color — Color of the added border, including optional transparency; defaults to opaque black.
- Output Binary Property Name — Optional binary key for the processed image. If omitted, the output replaces the image at the input property; if provided, the image is written under this key.
- File Name — Optional output filename. Its extension is set to match the final image format.
- Output Format Override — Final output format: inherit the input format, or choose AVIF, GIF, JPEG, PNG, TIFF, or WebP. Defaults to inheriting the input format.
- Quality — Output quality for formats that support it; defaults to 100. AVIF uses 60 when no quality is provided.
- Opaque Background Color — Background used when exporting to JPEG, which does not support transparency; defaults to white.
Output shape
One output item per input item, containing the processed image as binary data and the original JSON data.
The output image is stored under the input binary property name unless Output Binary Property Name is set. The node preserves other binary properties. Border dimensions are rounded to whole pixels and clamped to zero or greater. An output format override applies at final export.