The LibRaw library provides a simple and unified interface for extracting out of RAW files generated by digital photo cameras the following:
- RAW data (pixel values)
- Metadata necessary for processing RAW (geometry, CFA / Bayer pattern, black level, white balance, etc.)
- Embedded preview / thumbnail.