Convert GLB to JPG

Turn GLB models into JPEG. The default scene drawn from the front, right and above in an orthographic view with Y up, fit to 1024 pixels on the longer side unless width or height says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A picture of your 3D model.One JPG of the default scene, drawn from the front, right and above.

  1. What you get

    A single JPG that shows the default scene of the GLB in an orthographic view with Y up. The view looks from the front, right and above. The longer side is fit to 1024 pixels unless you set Width (px) or Height (px).

    One light from the upper left shades each surface. Surfaces show their base color or vertex colors, and light gray where they have none. The background is white unless you set Background, and the quality is 90 unless you change Quality.

  2. What is not shown

    Textures are not drawn, so a surface with only a texture shows in light gray or its base color. Animation is not shown, and neither are other scenes in the file. Only the default scene is drawn.

    A GLB whose buffers sit in separate files is refused.

  3. Size and quality

    Set Width (px) and Height (px) together to fix the exact frame. The model is centered in it. Because both are given, the picture can be stretched. Set only one, and the other follows the aspect ratio.

    Set Background to a color written as #RRGGBB, such as #ffffff for white, to change what fills the area around the model. Quality runs from 1 to 100. Higher keeps more detail and makes a bigger file, and above 90 the file grows quickly while the picture barely changes.

    To change the result afterward, you can compress JPG or resize JPG.

GLB and JPG.What each format is, and the options this conversion takes.

  1. 01 · background

    Background

    The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.

    default #ffffff
  2. 02 · height

    Height (px)

    The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 8192
  3. 03 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  4. 04 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 8192

The formats

From · GLB

glTF Binary

glTF 2.0 in one binary file with meshes, materials and textures. The web's 3D format.

Extensions
.glb
MIME type
model/gltf-binary
Kind
3D models
To · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

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

terminal
$ cv convert model.glb model.jpg
$ cv convert model.glb model.jpg

Questions.What people ask about GLB to JPG.

01OF 04

No. Textures are not shown. Surfaces appear in their base color or vertex colors, or light gray where they have none.

No. The view is fixed to the front, right and above, in an orthographic view with Y up.

The longer side is fit to 1024 pixels unless you set Width (px) or Height (px). Each can be set from 1 to 8192.

No. Animation is not shown, and the JPG is a single still image of the default scene.

More conversions.Other ways in and out of GLB and JPG.