Add new comment

Determine raw file-type

Hi,

Apologies if I missed something but is there an API-function to determine the file-type of the raw-file opened (and unpacked) with LibRaw?

Specifically, I would like to know if the file represented by the unpacked C++ LibRaw-class is a DNG-file. I can obviously check the filename extension but I'm assuming LibRaw does some internal matching of file types. Is that exposed through the API somewhere?

Many thanks!

Forums: