CONVERSION LOGIC
Add a solid border around an image
Create a larger canvas, fill it with the selected color and draw the original image in the center.
ImageProcessed imageRuns locally
01Image
02Expand canvas → fill → draw image
03Processed image
A 20 px border adds 40 px to both image dimensions.
The border is added outside the original bitmap
The source image is not shrunk to make room; the output canvas becomes larger.
Your content stays in the browser
Processing runs locally in the page without requiring the content to be sent to UtilityLake.
02
In short
What exactly does it do?
Create a larger canvas, fill it with the selected color and draw the original image in the center.
Example?
A 20 px border adds 40 px to both image dimensions.