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?
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