I'm using 0.16 in some software and have used LibRAW for years now (Thanks!). Attempting to load a RAF file from the X-E1 is throwing an error in packed_load_raw(). Here's the bit of code:
#ifdef LIBRAW_LIBRARY_BUILD
RBAYER(row+top_margin,i+left_margin) = val;
if (((unsigned)i>=width) && (load_flags & 32) ) {
black += val;
zero += !val;
}
#else
if ((unsigned) i < width)
BAYER(row,i+left_margin) = val;
else if (load_flags & 32) {
black += val;
zero += !val;
}
#endif
Now, we're in the LIBRAW_LIBRARY_BUILD and it's the RBAYER line there that we crash on. Note, it's row+top_margin there and just row below. FWIW, your new FastRAWViewer handles the file just fine.
Has this been patched and not released or is it just the row+topmargin bit?
Here's the RAF file:
https://www.dropbox.com/s/hdqw94qnbli86al/DSCF2445.RAF?dl=0
Craig
Strangely enough, but LibRaw
Strangely enough, but LibRaw 0.16 (Win32 binary) handles this file OK.
FastRawViewer uses 'master branch' (available on GitHub: https://github.com/LibRaw/LibRaw)
This branch to be released as LibRaw 0.17 within month or less.
-- Alex Tutubalin @LibRaw LLC
My Win32 binary works on it
My Win32 binary works on it as well (although the color matrix does seem a bit odd, it loads). It's the Mac one that crashes. I'll see what I can do on the GitHub -- didn't see the link to it on the site.
Craig
OK - false alarm. Build
OK - false alarm. Build settings on one of the Macs was causing this... Sorry!
Craig
Glad to hear.
Glad to hear.
-- Alex Tutubalin @LibRaw LLC