Add new comment

unpack_thumb unpacks previews instead

Upon using ExifRead ( to processes exif metadata from an image and using that to extract the Jpeg Thumbnail, we came to know that the extract_thumb method, instead of extracting the Jpeg Thumbnail, will extract the Jpeg Preview of a RAW image. Is this a desired behavior and if so, is there a way to extract the actual Jpeg Thumbnail from the image?

Also, in case the Jpeg Preview is missing, will Libraw report and error or extract the Jpeg Thumbnail instead?

More information about this issue can be found at the discussion here: