Darktable plugin in Gimp

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

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

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@colin gimp-2.9]$ darktable --version
this is darktable 2.0.6+dirty
copyright (c) 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

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

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.

1 Like

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 (c) 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

Where did you get your copy of GIMP from? Did you compile yourself or is that a package? In any case, you need to get a version supporting EXR.

Thanks for the quick response.

I am using Mint Mate 18.1

I installed GIMP from Update Manger with a PPA
otto-kesselgulasch/gimp-edge which I understand gives the latest Unstable
Development Version of GIMP 2.9.5

I have read about installing file-darktable and OpenEXR. I thought they may
be plug-ins but have not been able to find anything.

How do I go about finding a version of Gimp that supports EXR ?

Technically they are plug-ins but they get compiled together with the program. So you have to contact Otto and ask him to add EXR support.

Just got the latest Unstable ppa of Gimp 2.9.5 it now supports OpenEXR.
This happened before I had managed to contact Otto - excellent.

I have installed Gimp 2.9 & darktable.
I can see all requirements are met as per your list.
But when I open NEF file is shows me a dialog box saying: “there is no raw loader installed to load raw nikon files”.
I must be missing some configurations / settings.
How could I overcome this issue?

What operating system are you using?

Sorry I missed those details. I am using windows 10 OS.

While searching for how to setup darktable + gimp on windows, I came across this post. So thought that it is related to windows.

  • Another issue. I keep getting error / warning logs in the GIMP output window when I am using GIMP 2.9.
    This take up long time to load even the file open dialog, etc.
    Will this group deal with GIMP issue as well?

@sachin Welcome to the forum! I use GIMP on win7 and it can be slow. Don’t worry about the error and warning dialogs. Since 2.9.x is still being worked on, it will happen. If it crashes or something works differently than expected, then we need to report it.

If you are concerned about being off-topic, I think you have enough questions and observations to make a new topic :wink:.

Sure, we will deal with GIMP issues. :slight_smile:

I am not sure how to do that on Windows, but could you try setting the environment variable DARKTABLE_DEBUG before starting GIMP and see if you get some more helpful debug output?

I added environment variable as “DARKTABLE_DEBUG” with value “1”.
Then started Gimp 2.9. But no logs.
I see the same logs which are shown related to files I think (more the number of files, more the logs).
(gimp-2.9.exe:10504): GLib-GIO-CRITICAL **: g_content_type_is_a: assertion ‘type != NULL’ failed
(gimp-2.9.exe:10504): GLib-GIO-CRITICAL **: g_content_type_is_a: assertion ‘type != NULL’ failed
(gimp-2.9.exe:10504): GLib-GIO-CRITICAL **: g_content_type_is_a: assertion ‘type != NULL’ failed

No other specific logs.

@sachin

Bonjour,

Darktable works very well with Gimp 2.9.9 Win Git from March 10, 2018.

Version tested : https://github.com/darktable-org/darktable/releases/download/release-2.4.1/darktable-2.4.1-win64.exe

There is nothing to change, just install Darktable, start Gimp and open a RAW file in Gimp that will launch Darktable.

:o)

@samj,
Bonjour :slight_smile:
thanks for this update… let me check it.

@samj
could you please share “Gimp 2.9.9 Win Git” installer link?
I don’t see it in dev downloads.