MetaData

Using exiftool on a .CR2 photo converted to DNG, the following tags can be seen in the printout.

AS_SHOT_NEUTRAL
Raw Data Unique ID

However, when unpacking an image captured from the same camera (Canon 7D), I cannot find that data in the libRaw.imgdata structure, despite reading through the sub-structure data several times when in debug mode. I have found almost everything else needed.

I also scanned the documentation.

Any help wold be welcomed.

Thanks. Great library.

Forums: 

AsShotNeutral tag is

AsShotNeutral tag is converted to camera 'As Shot' white balance: imgdata.color.cam_mul[]

RawDataUniqueID is not parsed by LibRaw

-- Alex Tutubalin @LibRaw LLC

MetaData

Thanks!

MetaData

I thought I had found CFA_PATTERN in imgdata.rawdata.iparams.cdesc, but it appears that field is used for the general description of the chip. I don't seem to be able to find the CFA_PATTERN equivalent.
Thanks.

LibRaw::COLOR(row,col)

LibRaw::COLOR(row,col) returns color index (it is good idea to cache it; maximum length of pattern in single row is 48)

-- Alex Tutubalin @LibRaw LLC