RSS/Atom feed Twitter
Site is read-only, email is disabled

Windows - Gimp Open Nef files

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Windows - Gimp Open Nef files Partha Bagchi 25 May 03:35
Partha Bagchi
2014-05-25 03:35:41 UTC (over 10 years ago)

Windows - Gimp Open Nef files

Took me a long time to debug why I could not open nef files in Windows. Turns out that the additional ifdef in raw-load.c was the culprit.

Comment out Lines 38 - 43 and it's all good. :)

File to modify gegl/operations/common/raw-load.c: /**
#ifdef _WIN32
#include
#include
#define popen(n,m) _popen(n,m)
#define pclose(f) _pclose(f)
#endif
**/

I also modifed PIPE_MODE "r" to PIPE_MODE "rb"; i.e.

#ifdef _WIN32 #define PIPE_MODE "rb"
#else
#define PIPE_MODE "r"
#endif

Now the only problem is that to open a nef file, you have to explicitly select NEF as the file type since you cannot rely on the automatic detection which defaults to a TIFF thumbnail.

Thanks, Partha