Add new comment

Agree, it would be better to

Agree, it would be better to initialize this field into correct value, at least if preview IFD contains SamplesPerPixel tag.

I need to collect more samples (at least color DNG + BW preview) to implement it in correct way (unpack_thumb assumes 3 colors for PPM bitmaps, this may be not correct and will result into read beyond EOF).

Expect fix in 0.19-snapshot coming soon.

-- Alex Tutubalin @LibRaw LLC