exif-py
exif-py copied to clipboard
Extracting JPEG previews from NEF and CR2 files
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
It would probably require extending the api a bit since you wouldn't want to prefetch all those "thumbs". Any opinion on this @ianare?
@ianare any updates on this enhancement? Thanks!