LibRaw: RAW image decoding/processing library

LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF, RAF, DNG, MOS, KDC, DCR, etc.; virtually all RAW formats are supported). It pays special attention to correct retrieval of data required for subsequent RAW conversion.

The library is intended for embedding in RAW converters, data analyzers, and other programs using RAW files as the initial data.

Contents

  1. Copyright
  2. Purpose and Objectives
  3. Overview of LibRaw API (C++)
  4. Compilation and Installation
  5. Data Structures, Error Codes, and Constants
  6. C++ API
  7. C API
  8. Notes on API (error code conventions, memory usage)
  9. Examples

Copyright

LibRaw library, Copyright (C) 2008-2021 LibRaw LLC (info@libraw.org)
The library includes source code from
dcraw.c, Dave Coffin's raw photo decoder
Copyright 1997-2016 by Dave Coffin, dcoffin a cybercom o net

LibRaw is distributed for free under two different licenses:

You may use one of these licensing modes and switch between them.