Add Border and Padding to Images
Add space around static JPEG or PNG images without resizing their source pixels. Process a batch locally; originals are never overwritten and refresh clears all memory.
Static JPEG/PNG only. 20 files, 20 MiB each, 100 MiB combined. Sources and outputs: 20 megapixels and 8192 px per edge. Padding/frame 0–2000 whole pixels.
How to frame images
- Upload images and review file-specific checks.
- Add linked or independent whole-pixel padding, or choose a target canvas at least as large as every source. Select alignment, padding background and optional outer frame.
- Generate explicitly. Select an image to inspect the actual encoded preview, then download files or prepare a ZIP. Failed files require explicit partial acceptance before any export.
Worked geometry example
A 100×80 source with left 10, right 20, top 5 and bottom 15 padding becomes 130×100 at source origin (10,5). A 3-pixel outer frame expands it to 136×106 and origin (13,8). Centering it in 105×85 leaves two pixels on left/top and three on right/bottom. Bottom-right alignment uses origin (5,5).
Transparency, frame and JPEG
The outer frame expands the canvas and never covers source pixels. Transparent padding preserves alpha throughout the inner rectangle, including transparent source pixels: the opaque frame cannot show through the transparent center. Opaque padding fills behind the source, so transparent source areas reveal that color. This is not background removal or a mask restricted to outside the source.
PNG retains transparency. JPEG requires an explicit flattening hex color and quality 1–100; the complete composition is flattened after framing. Checkerboard is preview-only and never exported. Browser EXIF orientation is applied once; source pixels are not scaled, cropped or blurred. Preview uniformly scales the actual output for display.
Limits and output
20 static JPEG/PNG files, 20 MiB per file, 100 MiB combined sources. Original/final images must be within 20 megapixels and 8192 pixels per edge. Padding and frame are 0–2000 integer pixels. Smaller targets fail rather than crop; incompatible files are listed. Processing is serial in workers; edits invalidate output and Cancel discards stale jobs. A 150 MiB combined generated-image/ZIP memory budget permits individual downloads when ZIP is too large. Filenames use safe -bordered basenames with deterministic collision suffixes. No metadata/profile retention or lossless JPEG is promised. Clear/Reset offer in-memory Undo; no autosaving.
What should we improve next?
Help shape the next update to Add border to image. Tell us what would make it better for you.
Prefer email? feedback@tooltulip.com