Skip to content
UniKit

Emboss effect

Turn a photo into an emboss: difference against a neighbour plus a grey bias, with four lighting directions and adjustable bias and strength. Exports PNG or JPEG.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Images are processed locally in your browser with Canvas and never uploaded.

Pick an image first (PNG / JPEG / WebP / GIF all work).

Result

No result yet

128
1

Result details

These are the real numbers from this run — copy them straight out.

Pick an image and set the options; sizes, pixel count and export size show up here.

What this tool does

  • Build a metal or stone texture: the emboss turns brightness differences into relief, which works well as a background or button texture.
  • Give a line drawing depth: flatten it with the printmaking tool first, then emboss for a stamp-like look.
  • Compare the four lighting directions and keep whichever reads as raised most naturally.

Example

Input

A 3×1 strip (luminance 0 / 128 / 255), direction top-left, bias 128, strength 1

Output

The middle pixel becomes 0 and the right pixel becomes 255, while flat areas stay at 128

Straight from embossImage: output = bias + strength × (pixel − neighbour), clamped to 0–255. Alpha is never touched.

Frequently asked questions

Why do flat areas turn grey?

Emboss computes a neighbourhood difference; flat areas have a difference of zero, so the output is the bias value (128, mid grey, by default). That is why embossed images usually look grey overall.

What do bias and strength control?

Bias sets how bright the non-raised areas are (0 is black, 255 is white). Strength is the difference coefficient: higher values exaggerate edges, and above roughly 4 highlights clip to pure black and white.

Does it change the image size?

No. Emboss is a per-pixel neighbourhood operation, so the output matches the input exactly and alpha is preserved.

How is this different from printmaking?

Printmaking binarises to black and white with a dot pattern, leaving only two tones; emboss keeps every grey level and only converts brightness differences into relief.

Keywords:emboss effectemboss filterrelief imageembossed photobas relief

Related tools