#579252 exiv2 fails to extract preview from Olympus E-500 raw files

#579252#5
Date:
2010-04-26 13:41:43 UTC
From:
To:
Hi

When displaying raw images taken with an Olympus E-500 camera (.orf format) the
extracted thumb shown has 160*120 size.
If I try to extract the thumb with dcraw -e it gets an usable thumbnail of 1600x1200,
just 10 times bigger (hint?)

Raw images taken with an Olympus E-510, also .orf format but seems its a diferent one,
are shown with normal 1600x1200 size.

Thanks in advance

#579252#10
Date:
2010-05-06 07:22:11 UTC
From:
To:
Hi

Dne Mon, 26 Apr 2010 15:41:43 +0200
Celso González <celso@mitago.net> napsal(a):

Can you please provide some sample image which shows this bug? Anyway
it will most likely be a bug in exiv2 library, which geeqie uses for
parsing raw files.

#579252#21
Date:
2010-05-06 08:45:39 UTC
From:
To:
Hi

Dne Thu, 6 May 2010 10:39:10 +0200
Celso González <celso@mitago.net> napsal(a):

Okay, forwarding the bug to exiv2.

#579252#28
Date:
2010-05-06 08:39:10 UTC
From:
To:
You can download 2 samples from
http://mitago.net/tmp/Olympus_E500.orf
http://mitago.net/tmp/Olympus_E510.orf

And yes, it looks like an exiv2 problem, so if you prefer you may forward the bug

$exiv2 -pp Olympus_E500.orf
Olympus_E500.orf      Preview 1: image/jpeg, 160x120 pixels, 10167 bytes
Olympus_E500.orf      Preview 2: image/jpeg, 160x120 pixels, 10167 bytes
                                             ^^^^
                                             No big preview


$exiv2 -pp Olympus_E500.orf
Olympus_E510.orf      Preview 1: image/jpeg, 160x120 pixels, 8295 bytes
Olympus_E510.orf      Preview 2: image/jpeg, 1600x1200 pixels, 394571 bytes

If I try with exiftool, it shows the correct ones
$ exiftool Olympus_E500.orf | grep Preview
Preview Image Valid             : Yes
Preview Image Start             : 24576
Preview Image Length            : 417457
Preview Image                   : (Binary data 417457 bytes, use -b option to extract)

$ exiftool Olympus_E510.orf | grep Preview
Preview Image Valid             : Yes
Preview Image Start             : 24576
Preview Image Length            : 394571
Preview Image                   : (Binary data 394571 bytes, use -b option to extract)

Thanks in advance

#579252#35
Date:
2010-05-06 08:52:39 UTC
From:
To:
Hi again

Created upstream bug:

http://dev.exiv2.org/issues/show/703

Dne Thu, 6 May 2010 10:39:10 +0200
Celso González <celso@mitago.net> napsal(a):