Thanks to @launch-faygate's analysis in this bug, I came to a workaround
on Ubuntu 18.04, and nufraw.

First, note that `nufraw` has also this option:

  nufraw --out-type=jpg --lensfun=none mypic.DNG

... however, it still causes the same "Procedure 'file-nufraw-load'
returned no return values".

So I decided to try the old version of liblensfun0 (0.2.8), which
luckily is still online:

---
wget 
http://mirrors.kernel.org/ubuntu/pool/universe/l/lensfun/liblensfun0_0.2.8-1_amd64.deb
dpkg --contents liblensfun0_0.2.8-1_amd64.deb
mkdir liblensfun0_0.2.8-1
cd liblensfun0_0.2.8-1
dpkg -x ../liblensfun0_0.2.8-1_amd64.deb .
readlink -f usr/lib/liblensfun.so.0.2.8
---

Once you get the absolute path to liblensfun.so.0.2.8, note that used
like this:

---
LD_PRELOAD=/path/to/liblensfun0_0.2.8-1/usr/lib/liblensfun.so.0.2.8 nufraw 
--out-type=jpg --lensfun=none mypic.DNG
---

... when you click the Gimp button, Gimp will open, there will be no
report of error - but no image imported inside Gimp either!

However, this works:

---
LD_PRELOAD=/path/to/liblensfun0_0.2.8-1/usr/lib/liblensfun.so.0.2.8 gimp 
mypic.DNG
---

This will auto-open `nufraw` for importing the .DNG image, and once you
click the "check" button, the image will finally be imported into Gimp.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791138

Title:
  Cannot edit RAW files in GIMP under Lubuntu 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufraw/+bug/1791138/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to