How to turn an image into a good 3D print

Workflow· 8 min read· Updated 6 October 2026

Image-to-STL conversion has a reputation for producing muddy, unrecognisable prints. In practice the converter is rarely at fault — it does exactly what it is told with the pixels it is given. The results improve dramatically once you understand that a printer has perhaps thirty usable levels of depth and a resolution limited by your nozzle, and you prepare the image for that reality instead of hoping for the best.

What a height map conversion actually does

The mechanism is simple, and knowing it explains every failure mode.

The converter reads your image, discards colour by converting to greyscale, and treats the brightness of each pixel as a height. White becomes the tallest point, black the lowest, mid-grey halfway between. Then it builds a surface from those heights and puts a solid base underneath so the result is a printable volume.

That is all. There is no understanding of what the image depicts, no edge detection, no attempt to interpret a face as a face. Brightness in, height out.

Which leads immediately to the core constraint. Your printer lays down layers of, say, 0.2 mm. If you specify a relief 3 mm deep, the entire tonal range of your image has to fit into fifteen layers — fifteen distinguishable brightness levels. A greyscale image has 256. So 241 of them are being thrown away, and whether the result reads depends entirely on whether the information you cared about survived that reduction.

The depth budget

Usable levels equals relief depth divided by layer height. At 0.2 mm layers: a 2 mm relief gives you 10 levels, 4 mm gives 20, 6 mm gives 30. Below about 8 levels nothing reads as a gradient. This single number explains most disappointing conversions.

Two completely different goals

People bring two quite different things to a converter and are surprised when the same approach does not serve both.

A silhouette or logo. You want a shape: a company mark, a pet's outline, a symbol. Here you do not want gradients at all — you want two levels, up and down, with crisp edges. The whole job is getting a clean two-tone image.

A photographic relief. You want recognisable tonal variation: a face, a landscape. Here gradients are the point, and the job is compressing them into your depth budget without losing the features that make the subject identifiable.

These need opposite preparation. Treating a logo like a photo gives you soft mushy edges; treating a photo like a logo gives you an unrecognisable blotch. Decide which you are doing first.

Making a clean silhouette or logo

This is the easier case and the one that produces the most satisfying results, so start here if you are new to it.

Threshold the image to pure black and white. No greys at all. In any image editor this is a threshold or levels operation — drag the midpoint until everything you want raised is white and everything else is black. Do this deliberately rather than relying on the converter, because you want to control exactly where the boundary falls.

Clean up the edges. After thresholding you will have stray speckles and ragged boundaries, especially if the source was a photo or a low-quality JPEG. Remove isolated pixels and smooth the outlines. A jagged boundary in the image becomes a jagged boundary in the print, and at print scale it looks like a defect rather than a texture.

Check thin features against your nozzle. A logo with hairline elements has the same problem as small text: anything narrower than about one line width will not print. Thicken thin strokes in the image before converting. This is the same constraint described in the small text guide, and it catches people out because a logo that looks bold on screen may have fine details that disappear.

Use a shallow relief. For a two-level shape you only need enough depth to read, typically 1 to 2 mm. Deep relief on a silhouette adds print time and makes the side walls more visible without improving legibility.

Consider inverting. A raised shape on a flat plate and a recessed shape in a flat plate are both valid, and one usually looks better than the other for a given design. Raised is stronger and prints more reliably; recessed can be filled with paint or a second filament for contrast.

Making a photo relief that reads

Harder, and success depends almost entirely on preparation.

Crop tight and remove the background. The converter gives equal weight to every pixel, so a busy background consumes depth budget that should have gone to your subject. Cut the subject out and put it on flat white or flat black. This is the highest-impact single step.

Raise contrast hard — further than looks right on screen. A screen shows 256 levels; your print shows fifteen. An image that looks pleasantly natural on a monitor has most of its information in subtle mid-tones that will collapse into the same layer. Push contrast until the image looks slightly harsh, then convert. It will look correct in plastic.

Blur very slightly. Counter-intuitive, but a small blur removes single-pixel noise that would otherwise become spikes on the surface, without touching the features that matter. Noise in a height map prints as roughness.

Choose depth deliberately. More depth means more levels, so deeper is better for tonal range — but past about 5 or 6 mm the side walls of the relief become prominent and the print takes considerably longer. Somewhere between 3 and 5 mm is the usual sweet spot for a front-lit relief.

Think about lighting the finished object. A front-lit relief reads by shadow, which means it only reads when lit from an angle. Under flat, even light it nearly disappears. This is worth knowing before you judge the print — carry it to a window and turn it before concluding it failed.

Brightness is not depth

A height map treats light pixels as high and dark ones as low, so a white shirt rises and dark eyes sink, whatever their real shape. An AI depth model estimates actual distance instead. The AI photo to 3D relief tool runs one in your browser and builds the relief from real depth — often far more convincing for pets, faces and objects.

Faces are the hardest subject

Human recognition of faces is extremely sensitive to small errors, so a face relief that is technically fine can still look wrong. If you are learning, start with a high-contrast subject with strong simple shapes — a silhouette, an animal outline, a building — and move to portraits once the workflow is familiar.

Lithophanes: the transmitted-light version

A lithophane inverts the whole logic. Instead of reading by shadow on a surface, it is a thin panel viewed with light behind it: thick areas block light and appear dark, thin areas transmit and appear bright.

Three things change:

Lithophanes also tolerate far more tonal subtlety than front-lit reliefs, because transmitted light produces a much more continuous result than shadow does. A photo that fails as a relief may work well as a lithophane.

A related idea appears in the Secret QR generator, which uses two thin plates that only reveal an image when stacked and held to the light — the same transmitted-light principle applied to visual cryptography rather than photography.

Resolution: how many pixels you actually need

More pixels do not mean more detail in the print, and oversized images are a common source of slow conversions and enormous STL files.

Work out what your printer can resolve. On a 0.4 mm nozzle, adjacent features closer than about 0.4 mm merge. So across a 100 mm wide print you have roughly 250 independently resolvable columns. An image 800 to 1000 pixels wide already supplies more information than the print can carry; a 4000 pixel image supplies four times more again, all of which is discarded — after being turned into millions of triangles.

Print widthResolvable detail (0.4 mm nozzle)Useful image width
50 mm~125 features400 – 600 px
100 mm~250 features800 – 1200 px
200 mm~500 features1600 – 2000 px

Downscaling before conversion is genuinely worth doing: it converts faster, produces a mesh your slicer can handle without complaint, and the resampling acts as the mild blur recommended above. If a browser-based converter feels sluggish, an oversized input image is the usual cause.

Print settings for relief surfaces

A height map produces one large, gently varying top surface, which is a slightly unusual thing to print. A few adjustments help:

The general pattern with image conversion is that time spent in an image editor pays back far more than time spent adjusting converter settings. If a print disappoints, go back to the image, push the contrast harder, simplify the background, and try again — the second attempt is usually the one that works.

Convert an image now Upload stays on your device — the conversion runs in your browser, so nothing is sent to a server.
Open the generator →

Frequently asked questions

Why does my photo look like a blurry blob when printed?

Almost always insufficient contrast in the source plus too much depth range. A printer resolves roughly 0.2 mm steps, so a 3 mm deep relief has about fifteen distinguishable levels. A photo with soft, even lighting has its information in gradients that fall between those levels and vanish. Increase contrast hard before converting.

Should the light parts be high or low?

It depends on how the print will be viewed. For a relief lit from the front, light areas should be high so they catch the light. For a lithophane viewed with light behind it, the logic inverts: light areas must be thin, so light areas go low.

What image resolution do I need?

Match pixels to printable detail, not to megapixels. For a 100 mm wide print on a 0.4 mm nozzle you can resolve about 250 meaningful columns, so an 800 to 1000 pixel wide image is ample. A 4000 pixel image adds file size and conversion time with no visible benefit.

Can I convert a photo with a busy background?

You can, but it will compete with the subject and the result reads poorly. Cut the background out first and replace it with flat white or flat black. A converter cannot tell subject from background — that judgement has to come from you.

Why are there visible steps in my gradient?

That is layer quantisation, and it is inherent: each layer is a discrete height. Thinner layers reduce the effect, and so does using less total depth so that fewer bands are crossed. Some people embrace it, since the banding can look deliberate on a relief.

Keep reading