Need help dumping exif data in canon raw files

Paul Rubin http
Thu Nov 5 18:27:02 EST 2009


Nuff Nuff <nuffnough at gmail.com> writes:
> I just need to be able to extract the exif info from a canon CR2
> file.  The info from canon suggest that it's just the same as a tiff,
> but anytime I try to get PIL to open one,  it says that it tastes
> bad.  And canon don't seem to be all that forthcoming on the details.

CR2 is a hardware-specific raw format and PIL should not be expected
to understand it.  Try a websearch for dcraw.c to find a decoder for it.



More information about the Python-list mailing list