Darktable plugin in Gimp


#1

Hi, need help

In Gimp news for 2.9.4 is written:
On Linux, GIMP is now capable of using darktable for pre-processing raw images from DSLRs (Canon CR2, Nikon NEF etc.).

I have Linux Mint 18 , Gimp 2.9.5 from ppa:otto-kesselgulasch/gimp-edge and Darktable 2.0.6 .

How can I install and use that file-darktable plug-in ?


(Pat David) #2

I’d defer to @houz to know exactly what might be needed. I thought it got picked up if you had dt installed already as a handler for that file type.


(Colin Paul Adams) #3

I have both, and I just tried - it opend it as a tiff, showing the thumbnail :frowning:


(Pat David) #4

The notes point out that you must have a feature-complete build of darktable (in particular it needs to have LUA support).


(Colin Paul Adams) #5

How do you tell if it has Lua support? I get mine from a copr repo for Fedora.


#6

I have Darktable from ppa:pmjdebruijn/darktable-unstable.
Dont know if it have LUA support. How can I chkeck it?


(Pat David) #7

You also have to have dt in your PATH.

$ echo $PATH


#8

darktable --version will tell. At least the regular Fedora packages don’t ship with Lua support. For reasons. Complain to their package maintainer. He won’t listen to me.


(Colin Paul Adams) #9

Darktable is in my path, and built by myself from github with Lua support.

I thought @patdavid was saying GIMP had to be built with Lua support.


(Colin Paul Adams) #10

I know you need Lua in darktable for calling GIMP from darktable (that’s why I compiled it with Lua), but we’re talking the other way round here.


#11

I am novice in using linux, i can only use regular packages to install programs. (I am novice in english too as you can see). So I think its better to me to open RAW-files in Darktable, save it in format that GIMP can handle and open it in GIMP if necessary.

Thanks anyway.


(Mica) #12

Is the lua script, and lots of other useful lua scripts.


#13

I know what we are talking about. And for GIMP to be able to use darktable to open a raw file you need darktable to be built with Lua support. If darktable --version confirmed that I would be interested in seeing what GIMP shows on the terminal when trying to open a raw file.
Oh, and please make sure that you have file-darktable in your GIMP’s plugins.


#14

One more thing, darktable need to be compiled with OpenEXR support. I should probably add that to --version.


(Colin Paul Adams) #15

Where do I look to see if file-darktable is amongst the GIMP plugins? What can I do if it isn’t?


(Colin Paul Adams) #16

How do I check if darktable has been compiled with OpenEXR support (I compiled it myself, and didn’t take any non-default actions except for adding LUA support)?


(Colin Paul Adams) #17

colin@colin gimp-2.9]$ darktable --version
this is darktable 2.0.6+dirty
copyright © 2009-2016 johannes hanika
darktable-dev@lists.darktable.org

compile options:
bit depth is 64 bit
normal build
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 3.0.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled


(Colin Paul Adams) #18

I’ve managed to find the location (/opt/gimp-2.9/lib64/gimp/2.0/plug-ins) and file-darktable isn’t there.


#19

That would explain why GIMP doesn’t try to use darktable.

Since I mentioned several requirements in my last messages it might be a good thing to put them all together in one list.

darktable requirements:

  • At least version 1.7.0 of darktable.
  • Lua support. Mentioned in darktable --version
  • OpenEXR support. Mentioned in darktable --version for the latest development builds. Otherwise look for “OpenEXR” being an available format in darktable’s export module.
  • darktable needs to be in PATH for GIMP to find it. If you can start darktable by just typing darktable in a shell and hitting enter you are golden.

GIMP requirements:

  • A development build of the 2.9 branch, newer than Mai 2016. That was when the feature got added. Or anything newer once released (2.10, …)
  • OpenEXR support in GIMP. Look for “OpenEXR” in the available image formats in GIMP’s open dialog.
  • With the above two requirements met you should have the “file-darktable” plugin in GIMP. Open the “Select File Type” list in the lower left corner of GIMP’s open dialog and look for a bunch of entries starting with “Raw”.

If all of those points are confirmed and it still doesn’t work I’d like to hear about it.


(Dennis Lovatt) #20

I cannot get GIMP 2.9.5 latest unstable build to fire up darktable.

dennis@linuxXPS ~ $ darktable --version
this is darktable 2.2.4
copyright © 2009-2016 johannes hanika
darktable-dev@lists.darktable.org

compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 4.0.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
OpenEXR support enabled
Da

My problem seems to be no openEXR support in Gimp.
I installed the darktable lua to GIMP export, It successfully exported the file , fired up GIMP, then GIMP returns message "Opening xxxxx.exr failed Unknown file type"
When I open File Types I do not see any EXR support