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

Ufraw and GIMP

This discussion is connected to the gimp-user-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.

8 of 10 messages available
Toggle history

Please log in to manage your subscriptions.

Ufraw and GIMP James Moe via gimp-user-list 10 Sep 23:07
  CKIPCT3J.NR3TLP6K.OBGYDHOU@... 12 Sep 18:43
   Ufraw and GIMP James Moe via gimp-user-list 12 Sep 18:43
    Ufraw and GIMP Helmut Jarausch via gimp-user-list 13 Sep 15:39
     Ufraw and GIMP Ken Moffat via gimp-user-list 13 Sep 20:48
  20180911012805.GA15760@mill... 13 Sep 18:53
   Ufraw and GIMP James Moe via gimp-user-list 13 Sep 18:52
    Ufraw and GIMP Ken Moffat via gimp-user-list 13 Sep 19:39
     Ufraw and GIMP James Moe via gimp-user-list 13 Sep 22:57
      Ufraw and GIMP Ken Moffat via gimp-user-list 14 Sep 00:01
James Moe via gimp-user-list
2018-09-10 23:07:00 UTC (over 5 years ago)

Ufraw and GIMP

GIMP 2.8.22
UFRaw 0.22
linux 4.12.14-lp150.12.16-default x86_64

The current version of GIMP has gotten twitchy about return values from UFRaw:

Opening '/path/to/image/image-001.nef' failed: Procedure 'file-ufraw-load' returned no return values

Well, hmphh! Now I must open the image in UFRaw directly, save the ppm file, then open that with GIMP.

Is there way around this?

James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.
James Moe via gimp-user-list
2018-09-12 18:43:26 UTC (over 5 years ago)

Ufraw and GIMP

On 09/11/2018 02:14 AM, Helmut Jarausch wrote:

install nufraw (http://nufraw.sourceforge.net) and make it active with
Edit -> Preferences -> Image Import & Export

There is no "Image" option. And Help does not mention Import anywhere.

James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.
Helmut Jarausch via gimp-user-list
2018-09-13 15:39:37 UTC (over 5 years ago)

Ufraw and GIMP

On 09/12/2018 08:43:26 PM, James Moe via gimp-user-list wrote:

On 09/11/2018 02:14 AM, Helmut Jarausch wrote:

install nufraw (http://nufraw.sourceforge.net) and make it active with
Edit -> Preferences -> Image Import & Export

There is no "Image" option. And Help does not mention Import anywhere.

Sorry, I didn't mention I'm running Gimp-2.10.7 (GIT) - it might be that the
Edit -> Preference menu looks different in older versions of Gimp.

Edit -> Preference has the items

System Resources Debugging
Color Management
Image Import & Export <<<<<<<<<<<<< Tool Options
....

Helmut

James Moe via gimp-user-list
2018-09-13 18:52:51 UTC (over 5 years ago)

Ufraw and GIMP

On 09/10/2018 06:28 PM, Ken Moffat wrote:

I'm using nufraw-0.42 with 2.10.6 ./autogen.sh;
./configure --prefix=/usr --enable-contrast; make;
make install

Okay.

As far as I can see, 0.42 was working with 2.8.22.

Any idea how to use it with 2.8?

There are no instructions at the nufraw docs (such as they are). Gimp Help mentions using gimptool to install a plugin; except there is no gimptool app in the repository. There is no "Image Import" option in the 2.8 Preferences.

James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.
Ken Moffat via gimp-user-list
2018-09-13 19:39:03 UTC (over 5 years ago)

Ufraw and GIMP

On Thu, Sep 13, 2018 at 11:52:51AM -0700, James Moe via gimp-user-list wrote:

On 09/10/2018 06:28 PM, Ken Moffat wrote:

I'm using nufraw-0.42 with 2.10.6 ./autogen.sh;
./configure --prefix=/usr --enable-contrast; make;
make install

Okay.

As far as I can see, 0.42 was working with 2.8.22.

Any idea how to use it with 2.8?

There are no instructions at the nufraw docs (such as they are). Gimp Help mentions using gimptool to install a plugin; except there is no gimptool app in the repository. There is no "Image Import" option in the 2.8 Preferences.

For me, exactly the same instructions as for 2.10. Needs an old version of something (gtkimageview, perhaps), but that is exactly the same as for ufraw.

Looking at my logs, it seems I was actually using 0.41 with 2.8.22 (from memory, 0.41 needed patching for gimp-dev). Extracts from the log:

configure: ====================== summary ===================== configure: build GTK GUI: yes
configure: build GIMP plug-in: yes
configure: EXIF support using exiv2: yes configure: JPEG support: yes
configure: JPEG2000 (libjasper) support: no configure: TIFF support: yes
configure: PNG support: yes
configure: FITS support: no
configure: gzip compressed raw support: yes configure: bzip2 compressed raw support: yes configure: lens defects correction support using lensfun: no

and during the install:

make[2]: Entering directory '/scratch/working/nufraw-0.41' /bin/mkdir -p '/usr/lib/gimp/2.0/plug-ins'

And then to use it, from within the gimp just open the raw file in the normal way. Possibly you will need to change one of the settings to tell it to use nufraw instead of ufraw.

Oh, and apologies to the list for sending that original reply to James - I seem to find it very easy on this list to send to the poster.

ĸen

Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible
                       -- Candide, de Voltaire
   (Everything is for the best, in the best of all possible worlds)
Ken Moffat via gimp-user-list
2018-09-13 20:48:46 UTC (over 5 years ago)

Ufraw and GIMP

On Thu, Sep 13, 2018 at 05:39:37PM +0200, Helmut Jarausch via gimp-user-list wrote:

On 09/12/2018 08:43:26 PM, James Moe via gimp-user-list wrote:

On 09/11/2018 02:14 AM, Helmut Jarausch wrote:

install nufraw (http://nufraw.sourceforge.net) and make it active with
Edit -> Preferences -> Image Import & Export

There is no "Image" option. And Help does not mention Import anywhere.

Sorry, I didn't mention I'm running Gimp-2.10.7 (GIT) - it might be that the Edit -> Preference menu looks different in older versions of Gimp.

Edit -> Preference has the items

System Resources Debugging
Color Management
Image Import & Export <<<<<<<<<<<<< Tool Options
....

Helmut

I had to go to the box where I had installed nufraw with 2.8, so I fired up that old system. I cannot see any obvious way to edit how a raw image should be opened in 2.8. But nufraw is working there, so I looked in ~/.gimp-2.8 and the only reference to nufraw is in pluginrc, which has the opening lines:

# GIMP pluginrc #
# This file can safely be removed and will be automatically regenerated by # querying the installed plugins.

So provided that nufraw-gimp is in /usr/lib/gimp/2.0/plug-ins/ (or lib64 if your distro uses that), I would move the old ufraw plugin out of there, rename pluginrc to pluginrc.bak in case things go wrong, and restart gimp.

ĸen

Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible
                       -- Candide, de Voltaire
   (Everything is for the best, in the best of all possible worlds)
James Moe via gimp-user-list
2018-09-13 22:57:05 UTC (over 5 years ago)

Ufraw and GIMP

On 09/13/2018 12:39 PM, Ken Moffat via gimp-user-list wrote:

configure: ====================== summary ===================== configure: build GTK GUI: yes
configure: build GIMP plug-in: yes

Ah. Here is where things diverge:

configure:9400: ====================== summary ===================== configure:9402: build GTK GUI: yes
configure:9404: build GIMP plug-in: no

because: configure:5646: checking for gimpui-2.0 >= 2.2.0 configure:5653: $PKG_CONFIG --exists --print-errors "gimpui-2.0 >= 2.2.0" Package gimpui-2.0 was not found in the pkg-config search path.

Apparently the configure script wants the 2.0 version of gimpui to be at least 2.2. The version in the system is 2.0.50. It would seem I am SOL on this one.

James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.
Ken Moffat via gimp-user-list
2018-09-14 00:01:32 UTC (over 5 years ago)

Ufraw and GIMP

On Thu, Sep 13, 2018 at 03:57:05PM -0700, James Moe via gimp-user-list wrote:

On 09/13/2018 12:39 PM, Ken Moffat via gimp-user-list wrote:

configure: ====================== summary ===================== configure: build GTK GUI: yes
configure: build GIMP plug-in: yes

Ah. Here is where things diverge:

configure:9400: ====================== summary ===================== configure:9402: build GTK GUI: yes
configure:9404: build GIMP plug-in: no

because: configure:5646: checking for gimpui-2.0 >= 2.2.0 configure:5653: $PKG_CONFIG --exists --print-errors "gimpui-2.0 >= 2.2.0" Package gimpui-2.0 was not found in the pkg-config search path.

Apparently the configure script wants the 2.0 version of gimpui to be at least 2.2. The version in the system is 2.0.50. It would seem I am SOL on this one.

That sounds extremely odd - looking at mine, 0.42 followed that test with tests for 2.4.0 and 2.9.0.

The version in /usr/lib/pkgconfig/gimpui.pc should match the version of gimp.

If you installed 2.8.22 yourself, in a non-standard prefix (that probably also includes /usr/lib64) export the prefix at the start of PKG_CONFIG_PATH, followed by whatever else is in PKG_CONFIG_PATH.

Retrack: I was reading what you posted, but I think the problem may be slightly different - it says it did not find gimpui-2.0.pc at all (package not found, rather than a failed version test).

Check what you have in PKG_CONFIG_PATH when trying to rebuild nufraw, and of course check where your different versions of gimpui-2.0.pc live.

ĸen

Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible
                       -- Candide, de Voltaire
   (Everything is for the best, in the best of all possible worlds)