Add new comment

LibRaw 1.60 in Debian wrong treat PEF from Pentax K-3

Hi,

LibRaw 1.60.0 from libraw10 package in Debian Stable (and 1.60.2 in Debian Untable) returns input/output error:

---
egor@shutter:~$ ls -l tmp/raw/
итого 29324
-rw-r--r-- 1 egor egor 30026357 авг 15 15:10 IMGP3859.PEF
egor@shutter:~$ /usr/lib/libraw/simple_dcraw -v -4 -T tmp/raw/IMGP3859.PEF
Processing file tmp/raw/IMGP3859.PEF
tmp/raw/IMGP3859.PEF: data corrupted at 160143
Cannot unpack tmp/raw/IMGP3859.PEF: Input/output error
egor@shutter:~$
---

dcraw (and ufraw, rawtherapee) works fine:

---
egor@shutter:~$ dcraw -v -4 -T tmp/raw/IMGP3859.PEF
Loading Pentax K-3 image from tmp/raw/IMGP3859.PEF ...
Scaling with darkness 0, saturation 16383, and
multipliers 2.559937 1.000000 1.321476 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to tmp/raw/IMGP3859.tiff ...
egor@shutter:~$ ls -l tmp/raw/
итого 172024
-rw-r--r-- 1 egor egor 30026357 авг 15 15:10 IMGP3859.PEF
-rw-r--r-- 1 egor egor 146121532 сен 16 15:17 IMGP3859.tiff
egor@shutter:~$ dcraw | grep ^Raw
Raw photo decoder "dcraw" v9.21
egor@shutter:~$
---

Who is guilty?

P.S. But PEF from Pentax K-10 treating is fine.

Forums: