ianare / exif-py

Easy to use Python module to extract Exif metadata from digital image files.
BSD 3-Clause "New" or "Revised" License
826 stars 193 forks source link

Extracting JPEG previews from NEF and CR2 files #8

Open odinho opened 11 years ago

odinho commented 11 years ago

There is 3 previews inside the NEF file, but EXIF.py can't seem to find them.

Exiv2 finds it:

$ exiv2 -pp DSC_7880.NEF 
Preview 1: image/tiff, 160x120 pixels, 57600 bytes
Preview 2: image/jpeg, 570x375 pixels, 111772 bytes
Preview 3: image/jpeg, 4288x2848 pixels, 1311275 bytes

Example file: http://odin.s0.no/rot/anna/DSC_7880.NEF

odinho commented 10 years ago

It would probably require extending the api a bit since you wouldn't want to prefetch all those "thumbs". Any opinion on this @ianare?

harshithdwivedi commented 4 years ago

@ianare any updates on this enhancement? Thanks!