Crashes on loading sample KTX file (original) (raw)

3D rendering library "LOVR" includes a file ibl.ktx in its samples.

https://github.com/bjornbytes/lovr-docs/tree/v0.16.0/examples/Lighting/PBR_Materials

This was created from filament's "cmgen" app.

When ibl.ktx is opened in ImageViewer using FIle->Open, ImageViewer crashes (suddenly closes). There are no error messages.

Expected behavior

The file is probably legitimate. But if it is not valid ImageViewer should at least display an error message rather than crashing..

Desktop (please complete the following information):