exif-py icon indicating copy to clipboard operation
exif-py copied to clipboard

Support for Olympus and Panasonic RAW files

Open skrohmer opened this issue 4 years ago • 2 comments

Hi,

I don't get it running with Olympus ORF and Panasonic RW2 files. Is there any issue known? Here is a test program:

fn = "P5170005.ORF"
with open(fn, 'rb') as f:
        exif = exifread.process_file(f)
        print(exif.keys())

This returns an empty dictionary. It works fine with DNG and JPG for example.

skrohmer avatar May 18 '20 20:05 skrohmer

There is no support for RAW files currently.

ianare avatar Jul 31 '20 02:07 ianare

Right now it works for me (ExifRead==2.3.2) . These are just some of the fields returned by library (I selected the most representative) :

{
    "name" : "P5090001.ORF",
    "exif" : {
        "Image ImageWidth" : "4640",
        "Image ImageLength" : "3472",
        "Image BitsPerSample" : "16",
        "Image Compression" : "Uncompressed",
        "Image PhotometricInterpretation" : "1",
        "Image ImageDescription" : "OLYMPUS DIGITAL CAMERA         ",
        "Image Make" : "OLYMPUS IMAGING CORP.  ",
        "Image Model" : "E-M10           ",
        "Image StripOffsets" : "1465856",
        "Image Orientation" : "Rotated 90 CW",
        "Image SamplesPerPixel" : "1",
        "Image RowsPerStrip" : "3472",
        "Image StripByteCounts" : "13232793",
        "Image XResolution" : "350",
        "Image YResolution" : "350",
        "Image PlanarConfiguration" : "1",
        "Image ResolutionUnit" : "Pixels/Inch",
        "Image Software" : "Version 1.0                    ",
        "Image DateTime" : "2017:05:09 10:00:06"
       }
}

tenuki avatar Dec 20 '20 20:12 tenuki