Closed mwestphal closed 2 months ago
Describe the bug image::save and image::saveToBuffer should check type is compatible with format
To Reproduce Steps to reproduce the behavior:
f3d --dry-run example.glb
f3d::image hdrImg("palermo_park_1k.hdr"); hdrImg.save("path/to/disk.png");
Expected behavior
Exception thrown
Isn't it fixed now @mwestphal ?
it is, fixed by https://github.com/f3d-app/f3d/pull/1565
Describe the bug image::save and image::saveToBuffer should check type is compatible with format
To Reproduce Steps to reproduce the behavior:
f3d --dry-run example.glb
Expected behavior
Exception thrown