EDIT · BORDER

Add an Inside Border to a Photo Without Resizing

Give a product or profile photo a consistent frame. Set the border width and color and check the output size before saving.

  • Browser-localImage bytes stay in this tab
  • ✓ Real resultNo mock processing
  • Explicit limitsMemory-aware safeguards
Add Border illustrationADD BORDER
Processed in your browser · No file upload

Browser image decoding and the Canvas 2D API handle supported pixels locally.

The tool loads its interface and processing files from the site. This workflow handles the contents you select or enter in the browser.

Input per file
25 MiB
Source pixels
24 MP
Image edge
16,384 px

Limits are safeguards, not a guarantee every file below them will process. Complex files and device memory can require a smaller input.

Read the privacy policy

See how MAGODUCK tests tool outputs

1

Choose image and border

Outside borders increase canvas dimensions; inside borders do not.

Dimension behavior

An outside border adds twice the thickness to both width and height. A 1000×800 image with a 20 px outside border becomes 1040×840. Inside mode remains 1000×800.

PNG-first output

This build exports PNG so border pixels are reproduced predictably without JPEG edge compression or alpha ambiguity.

YOUR QUESTIONS, ANSWERED

Add Border FAQs

Does an outside border change dimensions?

Yes. It adds twice the border thickness to each axis.

Is the border real or CSS only?

Real. Border pixels are drawn into the exported canvas.

Can I keep the original dimensions?

Yes. Choose Inside.

Technical references checked October 2, 2026. Border geometry is rendered directly into the Canvas 2D output, and dimensions are derived from the chosen inside/outside strategy.