Image to Lithophane STL: Flat, Curved and Lamp Shade
This tool turns a photo into a lithophane STL: dark parts of the picture become thicker plastic, light parts thinner, so the image appears when light shines through the print. Your photo stays in your browser and is never uploaded.
1. Photo
Preview
The preview uses a coarser grid when the model is large; the STL download uses your full points-per-mm setting.
- Print standing up (the STL is already upright) so the detail is made by the layer height, not the nozzle width.
- White or natural PLA, 100% infill (or enough walls to fill the part), 0.10 to 0.12 mm layers.
- Slow outer walls (about 20 to 30 mm/s), a brim of 5 to 10 mm on tall flat panels, no supports.
- Seam placed at the back or on the frame; cooling fan on.
How the Lithophane Generator Works
A lithophane is a thin plastic sheet whose thickness follows the picture. Where the photo is dark the wall is thick and blocks light; where it is light the wall is thin and glows. Held up to a lamp, the print shows the photo in shades of light.
The tool reads your photo in the browser, turns it into a grid of thickness values and builds a closed 3D model from them: a front relief, a smooth back, side walls, an optional frame and an optional stand. Nothing is uploaded.
The Method
Worked Example
A 4:3 photo (400 × 300 pixels) as a flat panel, 100 mm image width, 0.8 to 3.0 mm thick, 3 points per mm, 3 mm frame 3.5 mm thick:
- Image height = 100 × 3 ÷ 4 = 75 mm. Grid = 301 × 226 points, 0.333 mm apart.
- The frame is 9 cells (3.0 mm) on every side, so the part is 106 × 81 mm and 3.5 mm deep at the frame.
- A mid-grey pixel (0.5): t = 0.8 + 0.5 × 2.2 = 1.90 mm. A dark pixel (0.2): t = 0.8 + 0.8 × 2.2 = 2.56 mm.
- Grid with frame = 319 × 244 points, giving 4 × 318 × 243 + 4 × 318 + 4 × 243 = 311,340 triangles, so the binary STL is 84 + 50 × 311,340 = 15.6 MB.
Tips for Better Lithophanes
- Pick a photo with clear contrast. Faces lit from the side, with no large burnt-out white areas, work best. Raise the contrast a little if the backlit preview looks flat.
- Keep the range near 0.8 to 3.0 mm. These are common starting values for white PLA. Thinner than about 0.6 mm can leave holes; thicker than 3 to 4 mm gets too dark to show detail.
- 3 to 5 points per mm is plenty. A 0.4 mm nozzle cannot show detail much finer than its line width across the panel; extra points mainly make the file bigger.
- Use the frame. A frame thicker than the image stiffens the panel and gives a clean edge for the stand to grip.
- Lamp shades: a cylinder sized by diameter fits over a tea light or LED puck. Leave at least 10 mm between the light and the wall, and never use a hot incandescent bulb inside PLA.
- Need flat outlines instead? For laser or CNC work use the Image to DXF Converter. For a name plate or sign print, try Text & Sign to STL. Plates with hole patterns come from the DXF Part Maker.
Frequently Asked Questions
Thickness ranges and print settings are typical starting values, not guarantees. The backlit preview is a simple simulation; real results depend on the filament, light source and printer.