question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preserve image mimeType when converting from GLB to GLTF

See original GitHub issue

The image mimeType field is mandatory when referencing a buffer (which is typical in GLB format) but optional when referencing files with well known extensions. It is stripped from the exported GLTF file, but it would be nice to have as a way to reduce ambiguity and for human readability. This is especially useful for files with extensions that use exotic image formats, which can lead to the exporter using the default .bin extension.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
emackeycommented, May 18, 2022

I’ll get a new version of gltf-vscode published in the coming days that uses the updated converter.

0reactions
rawnsleycommented, May 19, 2022

Thanks for the super quick turnaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best practices for .gltf / .glb · Issue #1117 - GitHub
Convert a glTF+BIN+Images into a GLB, but keep some specific (user-selected) images as external references. (just examples, different ...
Read more >
online GLB to GLTF converter for free - Aspose Products
GLB to GLTF conversion app is used to convert GLB files to GLTF format. You do not need to install specialized software to...
Read more >
Convert GLB to GLTF via Java - Aspose.3D
Java programmers can easily convert GLB file to GLTF in just a few lines of code. Load GLB file via the constructor of...
Read more >
T187844 Support the glTF 2.0 3D file format
glb and proper mime type to core's mime.info; add a validation hook for uploaded files to 3D (magic number, proper sections, valid json,...
Read more >
gltflib - PyPI
This library facilitates saving this data into a properly formatted glTF/GLB file. It also helps with converting resources inside a glTF/GLB file between ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found