Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,989
» Latest member: digi_kwic
» Forum threads: 7,730
» Forum posts: 42,017

Full Statistics

Latest Threads
Problems with AppImages.
Forum: Installation and usage
Last Post: teapot
15 minutes ago
» Replies: 0
» Views: 11
an iOS app that assists p...
Forum: Other graphics software
Last Post: zzh
6 hours ago
» Replies: 3
» Views: 167
Gimp exports TIFFs with s...
Forum: General questions
Last Post: ESH
6 hours ago
» Replies: 0
» Views: 56
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: denzjos
7 hours ago
» Replies: 2
» Views: 173
Gimp 3.0 get Metadata wit...
Forum: Scripting questions
Last Post: Volker
8 hours ago
» Replies: 4
» Views: 570
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
9 hours ago
» Replies: 2
» Views: 148
Average colour in GIMP - ...
Forum: Extending the GIMP
Last Post: chuckhenrich
11 hours ago
» Replies: 8
» Views: 573
Setting a default directo...
Forum: Tutorials and tips
Last Post: Ofnuts
Yesterday, 05:30 PM
» Replies: 0
» Views: 85
Fix low resolution images
Forum: General questions
Last Post: rich2005
Yesterday, 10:48 AM
» Replies: 5
» Views: 322
GIMP 3.0.6 only uses a fe...
Forum: General questions
Last Post: rich2005
12-05-2025, 12:09 PM
» Replies: 2
» Views: 336

 
  Problems with AppImages.
Posted by: teapot - 15 minutes ago - Forum: Installation and usage - No Replies

From https://download.gimp.org/gimp/v3.0/linux/

I find these AppImages work fine here:

    GIMP-3.0.0-aarch64.AppImage
    GIMP-3.0.2-aarch64.AppImage
    GIMP-3.0.4-aarch64.AppImage

But these two later ones suffer the same problems:

    GIMP-3.0.6-aarch64.AppImage
    GIMP-3.2.0-RC1-aarch64.AppImage

When running 3.0.6, the first error printed seems the key one:

    (gimp:12345): Gtk-CRITICAL **: 12:34:56.789:
        _gtk_css_provider_load_named:
        assertion '!g_str_equal (name, DEFAULT_THEME_NAME)' failed

It's repeated often along with lots of subsequent errors.  GIMP's main window appears, but the "welcome" window is small, square, and empty.  It does not respond to events so I can't close it.  Selecting File -> New in the main window has another small, square, empty window appear, like the welcome one, so I can't enter the width, height, etc., to create an image.

I assume some change has happened in how the AppImage has been built so 3.0.4 is happy here, but 3.0.6 isn't.  I'm running each from the same shell window on the same machine, etc., so the system around the AppImage is the same.

Searching found a similar problem with an AppImage for Dolphin which the developers fixed, although the problem wasn't what they first thought.  Perhaps that's useful to those who understand how AppImages are built.  https://github.com/pkgforge-dev/Dolphin-.../issues/20

Is anyone here running 3.0.4 and 3.0.6 AppImages from https://download.gimp.org/gimp/v3.0/linux/ ?  Do you suffer the same, or do they work for you?

Any clues on how to sort this?

Print this item

  Gimp exports TIFFs with strange limitations
Posted by: ESH - 6 hours ago - Forum: General questions - No Replies

Gimp 3.2 on Win 11

1. The following image of a castle (with a pole with no flag) was developed from a raw file in Darktable, description and keywords were edited, and it was exported as a TIF.

2. That TIF was imported into Gimp - and another TIF, only showing the associated flag, was imported too.

3. The flag was non-destructively put on the pole in Gimp.

4. A stamp-layer was added from visibles (the castle and the flag layers) - so 3 layers now.

   

5. Then an export as a TIFF was attempted - with all layers, and all exif data including the description. .... But that brings up the error shown - can't export the description, which apparently has a wrong format.

But worse...! when the exported TIFF is opened in Darktable (without any text at all) - also the flag is missing from the pole, i.e. nothing but the background layer (the castle) has been exported - at least not in a readable format.

   

How can I make TIFFs from Gimp work normally in my usual workflow with Darktable, i.e. show discription and the collective image?

Print this item

  Path autocurves plugin (G2 continuity) for Gimp3.0.6
Posted by: InquisitiveAsHell - 10 hours ago - Forum: Extending the GIMP - Replies (2)

Here is an updated version of the old "G2 continuity"-plugin that now works on Gimp3.0.6 (as far as I have tested it):

.zip   g2continuity.zip (Size: 10.05 KB / Downloads: 16)

When installed it shows up in the Path context menu and is capable of creating a smooth curved path from one with only linear (straight) segments (ie. no need for manual intervention at the control points).

Credits go to the original author, a user on this forum called "Ottia Tuota" as well as to "tmanni" who ported it to python3 and Gimp2.99. That version does not work on recent releases anymore, so I've tried to adapt it to the current API for Gimp3, making as few changes as possible.

I've never done Gimp plugins before so please excuse me if there are silly mistakes in the registration/create/run setup phase. The rest of the code should be how it was before except that I've had to change all the "vector" API references to the newer "path" variant and updated how selected pixels are spotted.

Print this item

  Problem posting an update to my plugin
Posted by: Scallact - Yesterday, 05:46 PM - Forum: Gimp-Forum.net - Replies (2)

I tried to post a new thread for my updated pl_stroke_arrows plugin, and was granted the "Your are in violation with the forum's rules" message, with a link to said rules.

I don't get what part of my message did upset the forum filter, my post was similar to the previous update.

Any idea what could be wrong?

Print this item

  Setting a default directory to save files
Posted by: Ofnuts - Yesterday, 05:30 PM - Forum: Tutorials and tips - No Replies

You will have noticed that Gimp is hell-bent into saving everything by default in your Documents folder. It's no completely Gimp faults, it is the behavior of the GTK file dialog thayt Gimp uses.

The simple but incomplete solution is to add your favorite folder(s) to the Bookmarks panel on the left.

But you can also make Gimp use any directory by making it think it is your Documents folder.

  • The FreeDesktop standard defines several directories:  DESKTOP, DOWNLOAD, TEMPLATES, PUBLICSHARE, DOCUMENTS, MUSIC, PICTURES, VIDEOS
  • A configuration file called user-dirs.dirs can be used to define what actual directory is used for these symbolic directories. This is typically used to give language-dependent names. 
  • user-dirs.dirs is normally in ~/.config but you can tell the desktop code to use a different one by setting XDG_CONFIG_HOME environment variable to a directory that contains another version of user-dirs.dirs
  • You update the file with the xdg-user-dirs-update command, and you can check it use the xdg-user-dir command. These two commands will of course check the XDG_CONFIG_HOME environment variable.
So, all that is needed is to prepare a user-dirs.dirs pointing to the required directory, and set the XDG_CONFIG_HOME environment variable to point  to the alternate user-dirs.dirs directory in a script before calling Gimp.

So for instance, setting your destination directory to ~/tmp:

Do once:
Code:
export XDG_CONFIG_HOME=~/tmp/               # directory for user-dirs file, and your Gimp files
xdg-user-dirs-update --set DOCUMENTS ~/tmp  # Creates/updates the user-dirs file


Before calling Gimp (so create/modify script):

Code:
export XDG_CONFIG_HOME=~/tmp/  # tell FreeDesktop where to look for directories definition
gimp                           # start Gimp (can also be "exec gimp" to get rid of one level of shell)

The exemple above keeps the user-dirs.dir file and the Gimp files in the same directory but using different directories is left as an exercise for the reader.

If any Windows or OSX users are reading this, I wonder if this applies in other OS as well. If you are missing the xdg-user-dirs-update command, user-dirs.dirs is a plain text file and it looks like this:


# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DOCUMENTS_DIR="$HOME/tmp"

Print this item

  an iOS app that assists painting by generate accurate perspective view of objects
Posted by: zzh - Yesterday, 06:20 AM - Forum: Other graphics software - Replies (3)

Hi, I am a painting enthusiast and I have found that the perspective of many paintings is not precise enough. I have developed an app that can generate accurate 3D perspectives of objects such as buildings, mountains, and rocks, which can be used to assist in painting. It has now been launched on the app store. I wonder if it is possible to recommend it to everyone here.

Print this item

  Fix low resolution images
Posted by: JoeCool59 - 12-05-2025, 06:33 PM - Forum: General questions - Replies (5)

I'm a casual GIMP user. I have some old digital images shot or digitized in low resolution (pixelated). The one I'm currently working on was a jpeg from around 1990. I opened it and screenshot it and now it's a 600ppi png, but the image retains all the compression artifacts that are left over from its original life as a 70ppi jpeg. Is depixelating it an art? I recognize that GIMP is incapable of knowing what information should be in the image. I'm eager to learn new things in GIMP.

Print this item

  GIMP 3 script-fu not loading and run with error when Loaded through Console
Posted by: markhahn2000 - 12-04-2025, 09:06 PM - Forum: Scripting questions - Replies (1)

new to v3 and having scripting issues.

My test case is a published "hello World"script. (https://testing.developer.gimp.org/resou...script-fu/)

On MacOS I have given GIMP full access in system settings. I have placed this .scm in a subdirectory with the same name as the executable .scm file. In Folders, this script directory is the first listed.

It does not show up when I restart GIMP.

I've read that I can load it in the Console, and when I do this, I get the error:

     "Error: eval: unbound variable: (/Users/mark/GIMP_scriptfu/mh_hello_world3/mh_hello_world.scm : 35)  [] "

On line 35 in the script, it holds the copyright year. How is this causing this script to error out?

I have tried different example scripts and am getting similar errors.

I am new to this. Thanks for any help!

Code:
#!/usr/bin/env gimp-script-fu-interpreter-3.0

(define (script-fu-zemarmot-hello-world
        image
        drawables
        font
        compute-size
        size
        text)
 (script-fu-use-v3)
 (let* ((layer (gimp-text-layer-new image text font size UNIT-PIXEL)))

   (gimp-image-undo-group-start image)

   (gimp-image-insert-layer image layer -1 0)
   (if (= compute-size TRUE)
     (let* ((image-width (gimp-image-get-width image))
            (layer-width (gimp-drawable-get-width layer)))
       (begin
         (set! size (* size (/ image-width layer-width)))
         (gimp-text-layer-set-font-size layer size UNIT-PIXEL)
       )
     )
   )

   (gimp-image-undo-group-end image)
 )
)

(script-fu-register-filter "script-fu-zemarmot-hello-world"
 "Script-Fu v3 Hello World"
 "Official Hello World Tutorial in Script-Fu v3"
 "Jehan"
 "Jehan, Zemarmot project"
 "2025"
 "*"
 SF-ONE-OR-MORE-DRAWABLE
 SF-FONT       "Font"               "Sans-serif"
 SF-TOGGLE     "Compute Ideal Size" #f
 SF-ADJUSTMENT "Font size (pixels)" '(20 1 1000 1 10 0 1)
 SF-STRING     "Text"               "Hello World!"
)

(script-fu-menu-register "script-fu-zemarmot-hello-world" "<Image>/Hello W_orlds")

Print this item

  GIMP 3.0.6 only uses a few fonts
Posted by: MetalJack - 12-03-2025, 07:10 PM - Forum: General questions - Replies (2)

Hi
Gimp only uses maybe 10 fonts and the rest don't have any affect, I added the windows fonts folder in preferences and deleted cached fonts from AppData but no fix.
What's going on?

Print this item

  Déformation par "Cage"
Posted by: Bart Simpson - 12-02-2025, 05:06 PM - Forum: General questions - Replies (7)

Bonjour,
je souhaite poser une question sur l'outil de déformation par cage.
Mais avant d'aller plus loin et de poser ma question, je doit préciser que je suis français et que je ne parle pas anglais.
Aussi j'utilise le fonction de traduction automatique.
Et avant d'entamer la discussion je souhaite vérifier que le traducteur fonctionne et que vous recevez bien mon message en anglais.
La communication français/anglais est elle correcte?

Bien à vous, 
Bart

Print this item