klauspost / rawspeed

Raw Image Decoder Library
GNU Lesser General Public License v2.1
72 stars 20 forks source link

New 5Ds R sRaw/mRaw files are broken #130

Open pedrocr opened 8 years ago

pedrocr commented 8 years ago

It seems the new 5Ds has once again tweaked the sRaw format so it doesn't work again. The code is failing with:

LJpegPlain::decodeScanLeft: Ran out of slices

I'm guessing there's something wrong with the calculation of dimensions, possibly due to the double height thing these cameras do. Could you have a look and point me in the right direction?

There's a sample file here:

http://scratch.corujas.net/_E5A0430.CR2