syoyo / tinyexr

Tiny OpenEXR image loader/saver library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load miss the layer which name is without .RGB or .XYZ suffix

Ly890608 opened this issue · comments

commented

The layer name seems to have a .RGB or .XYZ suffix.
in my case, the layer name is 'noiseLevel', it can not be loaded.
and i rename the layer 'noiseLevel' to 'noiseLevel.RGB'. it 's OK.

If you use uncommon layer names, you need manually load image data using LoadEXRImageFromFile https://github.com/syoyo/tinyexr#loading-singlepart-exr-from-a-file