Hi,
I've spotted a weird behavior when opening grayscale files, i'm
wondering if I have to check something else in the header or if it is
the correct behavior: the ImageSpec structure tells me there are two
channels in the file, one called 'I' and another called 'A', which is
absolutely black. (ie empty ?)
The file i'm opening is a simple black and white TGA used as a mask,
with, according to Gimp, photoshop, xnview, etc... a single color
channel. ( 8 bits )
Is there a way to check if a given channel is empty ? Apparently the
file does not hold any data for alpha, so i'm wondering if OIIO is
creating an alpha channel for compatibility and if I should check some
attributes to detect if there is actually any data in it ?
Thanks for your help.
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org