Skip to content
OddsockLocal
Local

No files yet.

Waiting for inputRuns in this browser. Nothing is uploaded.

How to use

  1. Choose one or more images.
  2. Set the border width in pixels and the border color.
  3. Choose PNG if the source has transparency that should reveal the band.
  4. Download the file or the ZIP.

What is Border and frame?

The border is a solid band painted in the border color, then the image is drawn on top at its own pixel size. Width opens at 16 and the color opens at #ffffff. A 1000 by 800 picture becomes 1032 by 832, with 16 pixels of white on every side. The band is the same thickness on the left, right, top and bottom. It is not a shadow, and it is not a thicker bottom like a polaroid print. Those frames live on the photo editor. Here the extra pixels are one flat color.

Read more

The original pixels are not scaled. A transparent PNG is drawn over the band, so clear areas of the photo show the border color inside the picture as well as around it. Export PNG if you later need a different surround. Export JPEG and any remaining transparency, including outside a rounded source, is painted white on top of the encode, which can hide a non-white band if the source's own corners were clear. Quality applies to JPEG, WebP and AVIF.

Animation becomes the first frame, with the band around that still. One image downloads alone. Several images download as a ZIP, each with the same width and color. The files you opened are not modified.

Use cases

  • A photographer adding a 16-pixel white margin before a print layout.
  • A designer putting a dark keyline color around a product cutout.
  • A student checking that 16 pixels of pad adds 32 to width and height.
  • Someone framing a set of images with the same band in one ZIP.
  • A developer who needs a solid surround and not a device mockup.

16 pixels of white

A 1000 by 800 photo. Border width 16. Border color #ffffff.

A 1032 by 832 image. The outer 16 pixels are white. The photo sits in the middle at its original size.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

Twice the width, once for each side. A 16-pixel border adds 32 pixels to the width and 32 to the height.