Some kodak files are very special in respect of thumbnails:
- the thumbnails are actually RAW data
-unpack_thumb() process them
- thumbnail.tformat is BITMAP for these images, not JPEG
Also, LibRaw 0.17 (alpha) has fixed several bugs relates to kodak thumbs.
So,
- upgrade to 0.17 (or Github master branch)
- ensure, that you handle thumbnail.tformat right
Some kodak files are very special in respect of thumbnails:
- the thumbnails are actually RAW data
-unpack_thumb() process them
- thumbnail.tformat is BITMAP for these images, not JPEG
Also, LibRaw 0.17 (alpha) has fixed several bugs relates to kodak thumbs.
So,
- upgrade to 0.17 (or Github master branch)
- ensure, that you handle thumbnail.tformat right