libdcraw is a C/C++ library to decode and manipulate Canon RAW files from digital cameras (in the CRW and CR2 formats).