Heya,

Judging by the docs this isn't a preferred format, so I apologize.

I'm upgrading some code from an older OIIO to 2.3.16 and the unit test that
reads in some example dds files is failing as:

  OIIO::ImageInput::unique_ptr in = OIIO::ImageInput::create(inputFile);

seems to return a nullptr. Other formats read fine. Looking at the header
ImageInput::create reports that it will return an empty pointer if the
required writer was not able to be created which might be what's happening.

ddsoutput code says, "DDS writing is not supported yet, please poke Leszek
in the mailing list."

I don't actually need DDS writing, but am I doing something wrong in the
create() call so as to get the nullptr in recent versions of OIIO? Or is
reading dds through the create interface ddeprecated and there's a better
way?

Thanks,
Alex

-- 
|o|  Alex Suter  |o|  R&D SF  |o|
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to