Add new comment

Problem with Fuji X-E1

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

Forums: