How to turn a picture into a 3D model you can print: 5 methods compared
There are five ways to turn a picture into a printable 3D model: a relief or lithophane, a depth-based relief, SVG extrusion, photogrammetry and an AI generator. Which one fits depends on what the picture shows.
Turn an image into an STL reliefMake a lithophane

Pick your case and go straight to the tool. All of these run in your browser, and the picture is not uploaded:
- A photo you want to light from behind: lithophane maker.
- A portrait or pet as a plaque with real depth: photo to relief, which estimates depth instead of using brightness.
- A texture, map or greyscale heightmap: image to STL.
- A logo or line drawing in one colour: SVG to STL.
- A logo in several colours for an AMS or MMU: image to 3MF.
- A name or a word: text to STL.
- A cookie cutter from a drawing: image to cookie cutter.
A real object you want to copy, or a full 3D figure from one picture, needs photogrammetry or an AI generator. Those are covered below, with what to do with the mesh afterwards.
Quick comparison
One flat image does not contain the depth of the object it shows. A photo is a 2D grid of colours; it has no information about the back of the object or how far away each point is. Every method fills that gap in a different way: by rule, by estimating, by measuring more photos, or by guessing.
| Method and input | What you get | Best for |
|---|---|---|
| Heightmap / relief, from one photo or greyscale image | A plate with varying thickness. Exact to the pixels, but brightness is not depth | Lithophanes, embossed plaques, textures |
| Depth-based relief, from one photo | A bas-relief where near parts are raised. Depth is estimated, not measured | Portraits, pets, objects on plaques |
| Vector extrusion, from SVG or clean black-and-white artwork | A sharp-edged shape with uniform depth and an exact outline | Logos, signs, cookie cutters, stencils |
| Photogrammetry, from 20–200+ overlapping photos | A full 3D textured mesh of the measured shape; precision depends on photos and technique | Copying existing objects, statues, terrain |
| Single-image generators, from one photo or illustration | A full 3D textured mesh. A plausible guess; hidden sides are invented | Figurines, concept models, game props |
Method 1: Heightmap relief and lithophanes
A heightmap converts brightness into height. Each pixel becomes a point on a surface, and its grey value sets how far that point rises above the base. Dark can mean thick or thin depending on the setting. The result is sometimes called 2.5D: there is real depth, but only in one direction, and nothing behind the surface.
Two common uses:
- Lithophanes – a thin plate where thick areas block light and thin areas let it through. Held against a lamp, the plate shows the photo. Here dark pixels map to thick plastic.
- Reliefs and embossing – the surface is meant to be seen in reflected light, like a coin or a plaque. Light pixels are usually mapped high.
Heightmaps work because the conversion is exact and predictable. Their limitation is that brightness is not depth: a white shirt becomes a tall plateau and a black shadow a deep valley, even though neither matches the real shape. For lithophanes this does not matter, because brightness is what you want to reproduce. For a "3D portrait" seen from the side, it looks wrong; use the depth-based relief in Method 2 for that.
Tools: the image to STL converter builds a relief from any PNG or JPG. In Relief (bright = higher) mode a black pixel gets the Minimum thickness and a white pixel the Maximum thickness, with a straight line in between; Width sets the size and Invert heights swaps the direction. The lithophane maker starts in Lithophane (dark = thicker) mode with a frame and thinner defaults for backlit prints. Both offer a flat or a curved, standing shape; previewing a curved one is free, downloading it needs Pro. Generator downloads count towards the two free downloads a day. There are also direct JPG to STL and PNG to STL pages with matching defaults. The lithophane printing guide has the print settings, and how to make a lithophane lamp covers the cylinder version.
Your slicer may do a basic version of this itself. Cura opens JPG, PNG, BMP and GIF files as models through a Convert Image dialog with Height, Base, Width and Depth in mm, a choice of Darker is higher or Lighter is higher, and smoothing. A dedicated tool adds a live 3D preview, frames and curved shapes.
Tips for good reliefs
- Increase contrast and remove busy backgrounds before converting.
- Blur noise slightly; JPEG artefacts become visible bumps. The tools have a Smoothing setting for this.
- Match resolution to the printer: with a 0.4 mm nozzle, detail finer than about 0.2–0.3 mm per pixel cannot be reproduced, so a 100 mm wide plate gains nothing above roughly 500 pixels across for a relief. Our tools sample the picture every 0.5, 0.25 or 0.15 mm (Detail: Draft, Normal, Fine), up to 600 samples per side, so a larger image adds nothing.

Method 2: Depth-based relief from a photo
Instead of reading brightness, a depth-estimation model predicts which parts of the photo are near the camera and which are far. Near parts are raised. A face comes out as a face, with the nose forward and the background back, rather than as a map of light and dark.
The result is still 2.5D: a bas-relief with nothing behind it. And the depth is estimated, not measured, so it is right in shape but not in millimetres. Use it for portraits, pets and objects on plaques. Use the plain heightmap for lithophanes, where brightness is the point.
The photo to relief tool does this in the browser (mode Depth relief (near = higher, estimated by AI)). The depth is worked out on your device and the picture is not sent anywhere; the first time, the depth model (about 27 MB) is downloaded. The photo to bas-relief guide goes through the settings.
Method 3: Logo and SVG extrusion
If your image is a logo, icon, letter or line drawing, you do not want a heightmap. You want the outline traced and pushed straight up to a fixed depth, giving clean vertical walls and flat tops.
The ideal input is an SVG vector file, because it stores exact shapes instead of pixels. The SVG to STL tool reads the paths, extrudes them to the height you set and keeps holes in letters like O and A correctly open.
If you only have a raster image (PNG, JPG), you first trace it into vectors. This works well for high-contrast, flat-colour artwork and poorly for photos. Practical steps:
- Start from the largest, cleanest version of the image you can find.
- Reduce it to pure black and white with a threshold adjustment.
- Trace it to SVG in a vector editor. Inkscape is free: select the image, open Path > Trace Bitmap (Shift+Alt+B), use the Brightness cutoff mode on the Single scan tab and press Update to refresh the preview.
- Delete stray specks and simplify very jagged curves.
- Extrude to STL and check the thinnest feature is at least two nozzle widths (0.8 mm on a 0.4 mm nozzle).
For plain text, skip the image entirely: text to STL builds letters directly from fonts, which is cleaner than tracing a screenshot. For a cutter rather than a solid shape, image to cookie cutter takes a PNG, JPG or SVG and builds the cutting wall around the outline.
Colour prints from an image: multi-colour 3MF and filament painting
Two more routes turn an image into a print in colour rather than in relief.
Flat-colour logos and artwork. The image to 3MF tool reduces the picture to a few colours and makes one part per colour on a base plate, saved as a 3MF or as one STL per colour. In the slicer you give each part its own filament, which suits an AMS or MMU. Up to four colours are free; more need Pro. The logo to multi-colour 3MF guide covers the slicer side.
Photos. Filament painting builds a thin layered model that you print flat, changing filament at set layers so the stacked colours blend into the picture. You choose the filaments from bottom to top; the tool lists the layers at which to swap. Up to four filaments are free.
Method 4: Photogrammetry from many photos
Photogrammetry reconstructs real geometry by matching features across many photos taken from different positions. Because each point is seen from several angles, the software can triangulate its actual position. This is the only method here that measures the object rather than inventing depth.
What you need
- Photos: typically 30–100 for a small object, more for large or detailed ones, with generous overlap between neighbouring shots. Meshroom's manual asks for a side overlap of at least 60 % and a frontal overlap of at least 80 %, and adds that more images are better.
- Coverage: circle the object at two or three heights, then add top views. Move to a new position for every shot. Any area not photographed becomes a hole.
- Lighting: even and diffuse, without flash. Hard shadows and reflections confuse feature matching.
- Surface: matte and textured. Shiny, transparent and plain single-colour objects reconstruct badly; a light dusting of scanning spray or dry shampoo helps.
- Software: options include Meshroom (free and open source, for Windows and Linux), Apple's Object Capture via apps on Mac and iPhone, and phone apps such as Polycam or KIRI Engine. Some phones also use their LiDAR sensor, which is useful for rooms but too coarse for small parts.
What the software does with your photos
- Align: it finds the same features in different photos and works out where the camera was for each shot. Blurry photos and too little overlap fail here.
- Dense point cloud: it computes many 3D points on the surface.
- Mesh: it connects the points into triangles.
- Texture: it projects the photos back onto the mesh as colour.
Preparing a scan for printing
Scans come out with holes, floating debris, a chunk of table and often several million triangles. Crop and close the mesh in the scanning app or Blender, run it through STL repair to make it watertight, and reduce the triangle count to a few hundred thousand before slicing. Scale is also arbitrary unless you included a reference object of known size, so measure one feature on the real object and scale to match with the scale tool.
Method 5: Single-image generators
A newer category of tools takes one picture and returns a complete 3D mesh, usually as GLB or OBJ with a texture; some services also offer STL or 3MF. They are trained on large collections of 3D models and predict a plausible shape, including the sides the photo does not show. Where a generator accepts several views (front, side, back), giving it more than one reduces how much it has to invent.
What they do well
- Characters, toys, creatures and stylised objects from a clear, front-facing image.
- Quick concept models and game or AR props where texture carries the look.
- Objects with simple, symmetrical forms.
Where they fall short
- Hidden sides are invented. The back of a product or a person's profile is a guess, not a measurement.
- No dimensional accuracy. Do not expect a replacement part, bracket or anything that must fit.
- Thin features such as fingers, straps and text are often merged, missing or too thin to print.
- Colour lives in the texture, which an FDM single-colour print ignores. Details that looked sharp on screen can turn out to be painted on rather than modelled.
- Mesh quality varies: outputs may be non-manifold, have internal faces or very high triangle counts.
Can you 3D print an AI-generated model?
Yes for figurines and decorative objects, after a clean-up. No for anything that has to fit another part: the shape is a guess and has no real dimensions. The clean-up takes four steps:
- Look at the bare geometry. Open the file in the GLB viewer and switch on Wireframe to see the triangles. Detail that exists only as colour in the texture is not geometry and will not print.
- Convert. GLB to STL pre-selects the ×1000 scale and the up-axis change for a model in metres.
- Repair. Click Repair mesh under Mesh tools in the same panel, or use STL repair, and check that Watertight says Yes.
- Reduce and scale. Use Reduce in the same panel if the mesh has millions of triangles, then set the real size with the scale tool: type the height you want and the other dimensions follow.
Steps 2 and 3 and the reduction can be done in one pass in the converter, so they use one download. Check the terms of the generator you use, as commercial-use rights differ between services. The non-manifold STL guide helps when the repair is not enough.
Which method should you use for 3D printing?
- A photo you want to display with light: lithophane.
- A photo as a decorative plaque or texture: heightmap relief, or a depth-based relief for portraits.
- A logo, name, sign, stamp or cookie cutter: SVG extrusion.
- A logo or flat artwork in colour: multi-colour 3MF.
- A real object you can walk around and photograph: photogrammetry.
- A character or object you only have one image of, where accuracy is not critical: a single-image generator, followed by repair.
- A functional part that must fit something: none of the above. Measure it and model it in CAD.
What our tools do and do not do
The browser tools on this site handle the first three methods and the colour routes directly, and the clean-up after the other two:
- Do: convert images to brightness reliefs, depth-based reliefs and lithophanes (flat or curved), extrude SVG artwork and text to STL, build multi-colour 3MF files and filament paintings from pictures, make cookie cutters from a drawing, view GLB/OBJ/PLY/STL output from scanners and generators, repair meshes, reduce triangle counts and scale models.
- Do not: reconstruct a model from multiple photos or generate a full 3D object from a single image. Use dedicated photogrammetry software or a generator for that step, then bring the mesh back for checking and repair.
FAQ
Can I turn a single photo into an accurate 3D model?
Not accurately. One photo does not contain depth or the hidden sides. You can make an exact relief or lithophane from it, or a plausible full model with a generator, but true geometry requires multiple photos (photogrammetry), a 3D scanner or CAD modelling.
Can I 3D print a model generated from a single photo?
Yes, if it is a figurine or a decorative object and you clean it up first: convert it to STL, repair it until it is watertight, reduce the triangle count and scale it to the size you want. It is not suitable for parts that must fit, because the hidden sides and the dimensions are invented.
What is the easiest way to make a 3D print from a picture?
A lithophane or relief. Drop the image in, set the size and thickness, and download an STL. It works with any photo and prints without supports.
Can I convert a JPG to an STL file?
Yes, as a relief or a lithophane: the brightness of each pixel becomes a height. A JPG to STL tool does it in the browser in a few seconds. A full 3D object from one JPG needs an AI generator and is a guess, not a measurement.
How do I turn a logo into an STL?
Use an SVG version of the logo if possible and extrude it with an SVG to STL tool. If you only have a PNG, convert it to black and white, trace it to SVG, clean up the paths, then extrude.
Do I need to remove the background before converting an image to 3D?
For a relief it helps: a busy background becomes bumps, so a plain one gives a cleaner plate. For a multi-colour logo, the image to 3MF tool has an option to remove the background colour. For a lithophane, leave the photo as it is.
How many photos do I need for an accurate 3D model?
There is no fixed number. Plan on 30 to 100 overlapping photos for a small object and more for large or detailed ones. Meshroom's manual asks for at least 60 % side overlap and 80 % frontal overlap between shots and notes that more images are better.
Can AI 3D models be used for engineering parts?
No. A generated model has no real dimensions and its hidden sides are invented, so it will not fit a mating part. Measure the object and model it in CAD, or use a 3D scan as a reference.
Who owns an AI-generated 3D model?
It depends on the service and the plan you are on. Some free tiers attach a licence that requires attribution or limits commercial use, so read the generator's terms before you sell prints or files.
Are images converted by these tools uploaded to a server?
No. The image to STL, photo to relief, SVG to STL and lithophane tools here run in your browser, so the file is processed on your own device.