Skip to content
DepthCarve

JPG to STL

JPG to STL: fix the source before the mesh

JPEG is a delivery format, not a measurement. Compression blocks, sharpening halos, and cast shadows can become ridges long before the file reaches the slicer.

  • Source-quality checks before inference
  • Free preview STL to test scale
  • Watertight production mesh

Three free AI previews per day · no account to try · one credit unlocks the production bundle

jpg to stl preview with a grayscale field and carved relief surface
Preview → range → production file

Live manufacturing workbench

Upload a photo. Preview the depth. Download your file.

Three free AI previews per day. Source checks, editing, 3D preview, and compatibility exports are free.

Sample relief depth preview

Choose a source image to begin.

Real work, real failure cost

Built around the people who pay for a bad output

The useful product is not the model call. It is the review loop that catches a reversed field, a noisy border, or an impossible relief before the next tool turns that mistake into wasted time.

01

Print-on-demand sellers

Turn customer JPGs into relief files without promising a full 3D reconstruction.

02

CNC and laser operators

Catch compression and shadow artefacts before a paid material run.

03

3D-print hobbyists

Understand why a phone JPG sometimes produces a noisy relief.

01

What JPEG does to a depth estimate

JPEG divides the image into blocks and discards high-frequency information that the eye is less likely to notice. Around hard edges, that shows up as ringing and blocky halos. A depth model reads those brightness changes as shape. The result is a relief with small terraces along the silhouette, a rough background, or a halo that looks like a raised outline around the subject.

The effect gets worse when the JPEG was saved several times, heavily sharpened, or resized after compression. A screenshot of a JPEG can add another resampling step. If the original PNG or camera raw is available, use it. If not, inspect the JPG at 100% and crop away the worst compression zones before generating.

02

Lighting is not geometry

A photograph records light, not distance. A bright forehead and a bright wall can share a value while sitting at different depths. A hard shadow is dark and sits directly against the object that cast it, which is also the pattern that signals proximity. The model can turn that shadow into a ridge because the single view does not contain enough information to separate the two.

Soft, even lighting describes form more reliably than direct sun or a single hard flash. Backlighting, lens flare, and strong specular highlights are also unreliable. If the only available photo has a hard shadow across the face, crop it out, flatten the background, or choose a different photo before spending a credit.

03

The JPG source checklist

Use the largest original, not a messaging-app copy. Check that the subject is sharp at 100% and that the eyes, product edges, or architectural lines are not smeared. Remove captions, stickers, and UI overlays. Keep a quiet border if the result will become a plaque or tile. Avoid filters that add vignettes, clarity, or HDR halos.

If the image is a scan or a screenshot of a document, the depth interpretation is usually meaningless. Use an extrusion or vector workflow for logos and line art instead. If the image is a photo of a photo, watch for glare and a visible frame; both can become geometry.

04

Generate, then read the preview honestly

The first free preview is a hypothesis. Compare it with the source: are the foreground and background in the right order, are the edges where they should be, did the shadow become a ridge, did the background flatten? If the answer is no, do not proceed to a production mesh. Fix the source or the range first.

The 3D preview is intentionally low resolution. Use it to check orientation, scale, and gross shape, not to judge fine detail. The free preview STL lets you open the geometry in a slicer or CAM package before paying. If the preview already shows a broken border or a noisy background, a denser mesh will preserve the same problem.

05

When to use PNG or 16-bit instead

If you already have a height map, use PNG rather than JPG. Height maps are data and should not pass through a lossy codec. If the source is an 8-bit grayscale image, keep it as PNG and do not upconvert it to 16-bit and call it precision. If you need the true 16-bit pair, approve a production job so it can be encoded from raw float depth.

For photographs, the camera format matters less than the capture quality. A clean, sharp, well-lit JPG can outperform a noisy PNG. The question is not the extension; it is whether the pixels still describe the form you want to manufacture.

06

Set scale and test the mesh

Set the finished width, relief height, base, and mesh grid before approval. A JPG converted at 50 mm and the same JPG at 300 mm need different relief heights and base thicknesses. Check the bounding box, manifold status, and the thinnest feature in the target program. For printing, slice a small test; for CNC, simulate the toolpath and cut scrap.

Keep the original JPG, the approved ZIP, and the manifest. If a customer asks for a larger version, the recorded dimensions and adjustments are the starting point, not a guess.

Five bounded stages

A file moves forward only after it earns approval

  1. 1

    Inspect

    Check source contrast, edge detail, border clutter, and resolution before an AI call is trusted.

  2. 2

    Shape

    Adjust the subject mask, background, curve, detail, smoothing, taper, frame, and real dimensions for free.

  3. 3

    Check

    Compare beam or tool size, tonal slices, slope, base, manifold topology, and bounding box with the real setup.

  4. 4

    Approve

    Approve one successful production job only after the free 2D and 3D previews earn acceptance.

  5. 5

    Transfer

    Download one verified ZIP and inspect it in LightBurn, CAM, or a slicer before committing production material.

Choose by next action

The formats are not interchangeable

OutputUse it forIt does not guaranteeCost
8-bit PNGPreview, mask, laser and compositing testsPhysical scale or machine settingsFree
Compatible 16-bit PNGCompatibility with grayscale depth workflowsAdditional source precisionFree
Preview STLLow-cost scale and import checksPrintability, tool reach, or safe G-codeFree
Production job bundleRaw EXR, true 16-bit pair, STL, preview and manifestHidden surfaces or certified metric truth1 credit

Straight answers

Questions before you commit a file

Is JPG or PNG better for image to STL?

PNG is better for height maps and line art because it is lossless. A high-quality JPG is acceptable for a photograph when it is the best original available. Avoid repeated saves and heavy sharpening.

Why does my JPG produce a noisy relief?

Compression blocks, sharpening halos, and hard shadows are brightness patterns that the depth model can read as shape. Inspect the source at 100%, crop the worst areas, and compare the free preview before paying.

Can I convert a JPG logo to STL?

A high-contrast logo can become a relief, but thin lines and anti-aliased edges may need a larger physical size or a vector extrusion workflow. Check the smallest feature against the nozzle or cutter.

Does the converter upload my JPG?

The free height-to-normal converter runs locally. The AI depth workbench sends a compressed copy only after you press Generate. The source image is not stored in the database.

What file do I get after paying?

One ZIP with raw float EXR, verified true 16-bit forward and inverse PNGs, a watertight STL, a preview, and a parameter and validation manifest. Provider links are temporary, so download the ZIP immediately.

Preview the idea. Pay for usable output.

Start without an account. When a professional format earns approval, use the welcome credit or choose a pack that matches the shop's workload.