Add new comment

File signature

Hi,
In opencv file image format (https://github.com/opencv/opencv/blob/4.x/modules/imgcodecs/src/loadsave...) are identified using file signature as a char array. A decoder is found using this signature tiff bmp jepg webp....

I found a method LibRaw::identify() but it is protected and need a file pointer.

Is there is a way to give a char array to check if file is readable using libraw?

Forums: