Convert GIF to STL

Turn GIF images into STL. The first frame as a solid relief 100 mm on its longest side, standing 2 mm where it is black up to 10 mm where it is white, on a flat base with straight sides.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GIF files on the dialor turn it to pick what to do

A relief you can 3D print from a GIF.Dark areas stay low and light areas stand tall on a flat base.

  1. What you get

    One STL file with the first frame of the GIF as a solid relief. It is 100 mm on its longest side and sits on a flat base with straight sides.

    The height follows the brightness. Where the picture is black the relief stands 2 mm, and where it is white it stands 10 mm. Shades in between fall between those heights.

  2. What changes

    Only the first frame is used. If the GIF is animated, the other frames are left out.

    A picture over 256 pixels on its longest side is sampled down to 256 pixels, so fine detail is smoothed. Clear areas count as black, so transparent parts of the GIF stand at 2 mm.

    STL holds geometry only, with no color or units. The colors of the GIF are not kept, only their brightness as height.

GIF and STL.What each format is.

The formats

From · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images
To · STL

STL

Triangle meshes for 3D printing. Geometry only, no color or units.

Extensions
.stl
MIME type
model/stl
Kind
3D models

In your code.The same GIF to STL conversion through the API, for your app or your agent.

terminal
$ cv convert photo.gif photo.stl
$ cv convert photo.gif photo.stl

Questions.What people ask about GIF to STL.

01OF 04

The first frame. The rest of the animation is not part of the STL.

It is 100 mm on its longest side. The relief stands from 2 mm to 10 mm high, depending on how light each part of the picture is.

Clear areas count as black. They stand at the lowest height, 2 mm.

No. STL has no color, so only the brightness of each part of the picture is kept, as height. To go the other way, see STL to GIF.

More conversions.Other ways in and out of GIF and STL.