Project

General

Profile

Raw pixel

Added by fab mic about 11 years ago

Hi,
Is it possible to load a buffer with the raw pixel with exiv2 when reading a raw file ?
If not, how would you get this result with the data that exiv2 can read ?
Best regards,
Fabien


Replies (3)

RE: Raw pixel - Added by Gilles Caulier about 11 years ago

Fabien,

It's better to use Libraw API (http://www.libraw.org) than Exiv2 to extract RAW image data as a binary array.

Look my code there from the digiKam DNG Converter :

http://lxr.kde.org/source/extragear/graphics/kipi-plugins/dngconverter/dngwriter/dngwriter.cpp#229

Which use libraw interface from KDE core :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkdcraw/libkdcraw/kdcraw.cpp#263

Best

Gilles Caulier

RE: Raw pixel - Added by Andreas Huggel about 11 years ago

Exiv2 doesn't have this functionality. In fact we try hard not to touch the image data. Suggest you use Gilles' method.

Andreas

RE: Raw pixel - Added by fab mic about 11 years ago

Ok, I understand.
I will have a look to the specific package Gilles wrote about to do that.
Thanks,
Fabien

    (1-3/3)