MeshMath

Lithophane generator — photo to STL

Upload a photo, preview the lithophane in 3D and download a ready-to-print STL. Your image never leaves your device.

Drop a photo hereJPG, PNG or WebP · processed on your device

How a lithophane works

A lithophane is a thin plate whose thickness varies with the image. Held in front of a light, thin areas glow bright and thick areas look dark, so the photo appears. This generator converts each pixel's brightness to a thickness:

brightness = 0.2126 R + 0.7152 G + 0.0722 B (0–1)
thickness = max − (max − min) × brightness

The result is a closed, watertight mesh with a flat back, ready for any slicer.

Best print settings

SettingRecommended
FilamentWhite PLA
Infill100%
Layer height0.1–0.12 mm
OrientationStanding upright (best detail) or flat with a brim
Thickness0.8 mm min / 3 mm max

Choose photos with good contrast and a clear subject; boost contrast before uploading if the image looks flat. A smaller pixel size gives more detail but a bigger file.

Worked example

Worked example

A 100 mm wide portrait with 0.8–3.0 mm thickness

Black pixel (brightness 0)3.0 − (3.0 − 0.8) × 0 = 3.0 mm thick (darkest)
Mid grey (0.5)3.0 − 2.2 × 0.5 = 1.9 mm
White (1.0)0.8 mm thick (brightest)
Resolution100 mm ÷ 0.4 mm cells = 250 cells across

A 0.4 mm cell matches a 0.4 mm nozzle; going finer adds triangles but not visible detail.

Recommended settings

SettingRecommendedWhy
MaterialWhite or natural PLAEven light diffusion; colours tint the image
Min / max thickness0.8 / 3.0 mmBelow 0.6 mm can break; above 3.2 mm passes little light
Layer height0.1–0.12 mmSmoother tonal steps
Infill100%Any gaps show up as dark patterns
OrientationStanding uprightDetail is set by the nozzle path, not layer steps
Speed30–40 mm/s outer wallsReduces wobble on the tall thin panel

Choosing a photo

Lithophanes reward strong contrast and simple backgrounds. Faces lit from one side work well; busy outdoor scenes and backlit silhouettes turn into mush. Before uploading, crop tightly and raise contrast a little in any photo editor. Try the Invert option only if you plan to view the print with light from the front.

Common mistakes

Troubleshooting

SymptomLikely causeFix
Image looks washed outMax thickness too lowRaise max thickness to 3.0–3.2 mm
Panel wobbles or snaps during printTall and thinAdd a brim, slow down, or add a border
Image is a negativeInvert enabledUntick Invert

From photo to lit print

  1. Pick a high-contrast photo and crop it to the shape you want. Faces and pets work best.
  2. Upload it above and set the width. 100 mm suits a desk frame; 150 mm a night-light.
  3. Keep 0.8 mm minimum and 3.0 mm maximum thickness for white PLA. Add a 3 mm border for strength.
  4. Download the STL, stand it upright in your slicer with a brim, and print at 0.1–0.12 mm layers and 100% infill.
  5. Hold it in front of a white LED panel or a window. A warm white light (2700–3000 K) gives the classic look.

Lighting and display

The image only appears with light behind it, so plan the display. A flat LED panel or an LED strip in a small box gives even light; a single bulb creates a hot spot in the middle. Keep at least 20–30 mm between a point light and the panel to spread it. Warm white makes skin tones look natural; cool white looks harsher but shows more detail.

FAQ

How do I make a lithophane from a photo?

Drop the photo above, set the width and thickness, check the 3D preview, then click Download STL and slice it with 100% infill in white PLA.

What thickness should a lithophane be?

0.8 mm minimum and 3 mm maximum is a good default for white PLA. Thicker maximums give more contrast with a strong backlight.

Why does my lithophane look like a negative?

Lithophanes only show the picture when lit from behind. Viewed from the front without light, they look like a negative — that's normal.

Is my photo uploaded?

No. The image is converted to a 3D model entirely in your browser.

Recommended gear

Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.

Related tools

See all tools →