You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the .exr file contains no recognized channels ktx create creates an empty texture. It should raise an error. Only R,G,B and A are currently recognized.
A single channel "Y" should be recognized and a greyscale texture created. Probably handling should follow the same model as PNG L textures which IIRC is to replicate the channel to all 3 if the output format is RGB{,A} or add swizzle metadata if the output format is R. The EXR spec does not specifically call out YA textures so it is unclear if those exist and should be supported. For now only supporting only Y is good. A .exr with a single Y channel is https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/LuminanceChroma/Garden.exr.
The text was updated successfully, but these errors were encountered:
in addition to #966 and #970.
before
KTX-Software/tools/imageio/exr.imageio/exrinput.cc
Line 227 in b619004
Fixed in 91e61d6.
The text was updated successfully, but these errors were encountered: