Convert AVIF to STL
Turn AVIF images into STL. The primary picture, turned upright, 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 AVIF files on the dialor turn it to pick what to do
A relief of your picture you can print.The brightness of the picture becomes the height of a solid STL model.
What you get
One STL file with the primary picture turned upright and raised as a solid relief. The model is 100 mm on its longest side and sits on a flat base with straight sides.
Where the picture is black, the relief stands 2 mm. Where it is white, it stands 10 mm. Shades in between fall between those heights.
What changes
Pictures over 256 pixels on their longest side are sampled down to that size, so fine detail is smoothed. Clear areas count as black, so they stand at the lowest height.
STL holds geometry only, with no color. The colors of the picture are not kept, only how light or dark each part is. For more conversions to this format, see every STL conversion.
AVIF and STL.What each format is.
The formats
AVIF
AV1-based images with better compression than WebP and support for HDR and alpha.
- Extensions
- .avif
- MIME type
- image
/avif - Kind
- Images
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 AVIF to STL conversion through the API, for your app or your agent.
$ cv convert photo.avif photo.stl$ cv convert photo.avif photo.stlQuestions.What people ask about AVIF to STL.
It is 100 mm on its longest side. The relief stands from 2 mm where the picture is black to 10 mm where it is white.
No. STL holds geometry only, so the colors are not kept. Only the light and dark of the picture shapes the relief.
Clear areas count as black. They stand at the lowest height of 2 mm.
Pictures over 256 pixels on their longest side are sampled down to that, so fine detail is smoothed. Smaller pictures are not sampled down.