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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,948
» Latest member: ericr12547
» Forum threads: 7,708
» Forum posts: 41,910

Full Statistics

Latest Threads
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Volker
1 hour ago
» Replies: 2
» Views: 116
How to transform a layer ...
Forum: General questions
Last Post: rich2005
1 hour ago
» Replies: 1
» Views: 81
Ubuntu - Right way to cra...
Forum: Linux and other Unixen
Last Post: ExplodingCabbage
Yesterday, 08:01 PM
» Replies: 2
» Views: 171
What exactly tutorials ar...
Forum: General questions
Last Post: SleipnirTheHorse
Yesterday, 02:32 PM
» Replies: 5
» Views: 424
Random Clone
Forum: General questions
Last Post: mrkid
Yesterday, 01:26 PM
» Replies: 3
» Views: 251
Problem with Gimp 3 Pytho...
Forum: Scripting questions
Last Post: Volker
Yesterday, 11:03 AM
» Replies: 7
» Views: 439
Issue with Gradient Flare...
Forum: General questions
Last Post: rich2005
Yesterday, 09:56 AM
» Replies: 4
» Views: 212
ExifToolGUI and ExifTool ...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 09:47 AM
» Replies: 10
» Views: 9,883
Beginner question on Laye...
Forum: General questions
Last Post: denzjos
Yesterday, 07:05 AM
» Replies: 1
» Views: 126
New to Gimp
Forum: General questions
Last Post: denzjos
11-17-2025, 08:20 AM
» Replies: 4
» Views: 346

 
  How to transform a layer and a path both together?
Posted by: teapot - 8 hours ago - Forum: General questions - Replies (1)

Hi,

In gimp 3 (currently 3.0.4) how do I transform a layer and a path both together with a transform tool such as move, rotate, scale etc.

In gimp 2 I can lock them both and then use a transform tool to transform both by the same transformation.

In gimp 3 I can have the path selected in the paths dialog and the layer selected in the layers dialog but as far as I can spot so far a transform tool will transform one or the other not both.

Thanks for any help.

Print this item

  Gimp 3.0.6 Python plug-in bug with text layer.set_color(color)?
Posted by: Volker - Yesterday, 02:43 PM - Forum: Scripting questions - Replies (2)

My environment: Apple Mac mini M2, macOS Tahoe 26.1.

I want to set the color of a text layer from a Python plug-in. In Gimp 2 I used the plug-in "gimp-text-layer-set-color".

In Gimp 3 I find the layer method "set_color(color)", but the color remains to be the foreground color. The same with the PDB plug-in.
First try with layer method:

Code:
textColor = Gegl.Color.new("red") # e.g.
textLayer = Gimp.TextLayer.new(image, "Text", someFont, sometextSize, Gimp.Unit.pixel())
textLayer.set_name("Text")
textLayer.set_color(textColor)
image.insert_layer(textLayer, parent, position)
The text is black.
Next try with pdb proc:
Code:
textColor = Gegl.Color.new("red") # e.g.
textLayer = Gimp.TextLayer.new(image, "Text", someFont, sometextSize, Gimp.Unit.pixel())
textLayer.set_name("Text")
pdb = Gimp.get_pdb()
textLayerSetColor = pdb.lookup_procedure("gimp-text-layer-set-color")
pdbConfig = textLayerSetColor.create_config()
pdbConfig.set_property("layer", textLayer)
pdbConfig.set_property("color", textColor)
textLayerSetColor.run(pdbConfig)
image.insert_layer(textLayer, parent, position)
The text is black.
Next try with foreground:
Code:
textColor = Gegl.Color.new("red") # e.g.
foreground = Gimp.context_get_foreground()
Gimp.context_set_foreground(textColor)
textLayer = Gimp.TextLayer.new(image, "Text", someFont, sometextSize, Gimp.Unit.pixel())
textLayer.set_name("Text")
image.insert_layer(textLayer, parent, position)
Gimp.context_set_foreground(foreground)
Success! The text is red.

Where is the error? With my code or with Gimp?

Print this item

  Ubuntu - Right way to craft a .desktop entry for the AppImage
Posted by: ExplodingCabbage - Yesterday, 02:08 PM - Forum: Linux and other Unixen - Replies (2)

Background: I've downloaded GIMP-3.0.6-x86_64.AppImage onto my Ubuntu 24.04.3 LTS box, then created a .local/share/applications/GIMP.desktop file with the following content...

[Desktop Entry]
Version=1.0
Name=GIMP
Exec=/home/mark/Applications/GIMP-3.0.6-x86_64.AppImage
Icon=/home/mark/.local/share/GIMP.png
Terminal=false
Type=Application
Categories=Graphics;


... and then pinned it to the left sidebar (the "dash") searching for it in the app launcher, right-clicking it, and clicking "Pin to Dash".

It... sort of works. I see the icon in my sidebar:

[Image: BpAd6NW.jpeg]

And when I click on that icon, GIMP opens. But GNOME doesn't seem to understand that the newly opened window is associated with the GIMP program whose sidebar shortcut I just clicked on. Instead, it creates a new, temporary shortcut, with a generic gear icon, in the bottom section of the dash:

[Image: SmVwbcQ.jpeg]

This behaviour differs from other AppImage-based applications I've created .desktop files for. For instance, if I open multiple windows of Zed, I see three orange dots next to my Zed icon in my sidebar, and I can right-click on the sidebar icon and go to "All Windows" to see all the open Zed windows I have open:

[Image: 8mD9TsS.jpeg]

How - if at all - can I likewise make my open GIMP window be represented by an orange dot next to my pinned GIMP shortcut, instead of by adding a new shortcut with a gear icon? Is the reason this doesn't work that I have done something wrong in crafting my .desktop file, or is GIMP missing some kind of feature that's needed for it to properly integrate with the GNOME dock in the way other programs do.

Print this item

  Issue with Gradient Flare -Filter- Wrong color & missing Presets
Posted by: ldd2 - Yesterday, 04:46 AM - Forum: General questions - Replies (4)

Hi.

I've recently updated from GIMP v3.0.2. up to v3.0.6

In v3.0.2 I used Gradient Flare and it usually showed a default small "Sun" on hot spot which could be increased in size

Now, in most updated version I get some sort of Pinkish(?) gradient flare effect.. And there're no presets to change in "Selector" tab as I used to see in v3.0.2

Picture to prove it:
https://imgur.com/a/IDNEdOS

I'd appreciate some help in this situation and in case it happens to somebody else, please let me know.

Couldn't find much about this issue aside of: Missing options in Gradient Flare (#640) · Issue · GNOME/gimp-help

And if there's some date to get a fix for this issue. Thanks a lot.

Print this item

  Beginner question on Layer. Filer sequence
Posted by: 5354photos - Yesterday, 03:39 AM - Forum: General questions - Replies (1)

I used GImp 3.0. So, there are Non Destructive Filters. I also use GMIC and layers. Somehow, I am confused the sequence of effects. My guess is
a/ The upper layer will take priority over the layer below
b/ Filters within the same layer also follow the same logic in a (Top is over bottom)

How should I use GMIC filters, eg I want to apply tone Enhance and then Freaky Details? In Input/Output, when to choose In Place/New Layer?

Print this item

  Problem with Gimp 3 Python plug-in color_argument
Posted by: Volker - 11-16-2025, 05:51 PM - Forum: Scripting questions - Replies (7)

I try to migrate my Python plug-in to decorate a jpeg photo with margin, border and description from Gimp 2 to Gimp 3.

it works as intended as long as I don't add a color-argument. What is wrong with this code?

Code:
import sys
import os
from glob import glob
import gi
gi.require_version('Gimp', '3.0')
from gi.repository import Gimp
gi.require_version('GimpUi', '3.0')
from gi.repository import GimpUi
from gi.repository import GObject
from gi.repository import GLib
#from gi.repository import Gtk
from gi.repository import Gio
from gi.repository import Gegl

...

class MarginBorder(Gimp.PlugIn):
 def do_query_procedures(self):
   return [plugInMBProc]
 def do_create_procedure(self, name):
   procedure = None
   if name == plugInMBProc:
     procedure = Gimp.ImageProcedure.new(self, name,
                                         Gimp.PDBProcType.PLUGIN,
                                         margin_border_run, None)
     procedure.set_sensitivity_mask(Gimp.ProcedureSensitivityMask.DRAWABLE |
                                    Gimp.ProcedureSensitivityMask.NO_DRAWABLES)
     procedure.set_menu_label("Rand und Rahmen")
     procedure.set_attribution("Volker", "Volker Lenhardt", "2025")
     procedure.add_menu_path("<Image>/Volker")
     procedure.set_documentation("Volkers Rand, Rahmen und Bildtext",
                                 "Fügt dem aktiven Bild die Dekorationsebenen "\
                                 + "Rand, Rahmen und Bildtext hinzu.",
                                 None)
     procedure.add_font_argument("font", # name
                                 "Font", # nick
                                 None, # blurb
                                 True, # none_ok
                                 Gimp.Font.get_by_name(
                                   "URW Gothic L Book"), # default_value
                                 False, # default_to_context
                                 GObject.ParamFlags.READWRITE) # flags
     procedure.add_string_argument("desc", # name
                                   "Bildbeschreibung", # nick
                                   None, # blurb
                                   "Irgendwo", # value
                                   GObject.ParamFlags.READWRITE) # flags
     procedure.add_double_argument("marginRelation", # name
                                   "Randbreite in Promille der größten Bildausdehnung", # nick
                                   None, # blurb
                                   0.0, # min
                                   30.0, # max
                                   9.0, # value
                                   GObject.ParamFlags.READWRITE) # flags
     procedure.add_double_argument("borderRelation", # name
                                   "Rahmenbreite in Promille der größten Bildausdehnung", # nick
                                   None, # blurb
                                   0.0, # min
                                   10.0, # max
                                   1.8, # value
                                   GObject.ParamFlags.READWRITE) # flags
     procedure.add_color_argument("borderColor", # name
                                  "Rahmenfarbe", # nick
                                  None, # blurb
                                  False, # has_alpha
                                  Gegl.Color.new("black"), # value
                                  GObject.ParamFlags.READWRITE) # flags
   return procedure

Gimp.main(MarginBorder.__gtype__, sys.argv)

If I omit the procedure.add_color_argument all is well, but with it the plug-in doesn't even show up in Gimp.

I can't find any code errors, or do you?

Thanks in advance for your help.

Print this item

  Autopano Giga 4.4.2 now free and legal to use
Posted by: denzjos - 11-16-2025, 05:29 PM - Forum: Other graphics software - Replies (1)

A fine panorama sticher is Autopano Giga 4.4.2, now free and legal to download and use :


https://www.northlight-images.co.uk/autopano-giga-free/
https://hdrmaps.com/blog/autopano-giga-is-now-free/

If problems, read this :
https://mavicpilots.com/threads/autopano...re.146561/

Print this item

  New to Gimp
Posted by: Bolothephotographer - 11-15-2025, 05:30 PM - Forum: General questions - Replies (4)

I'm an Affinity Photo user, or at least I have been for the past couple of years but they've recently made everything free and kinda ruined its attraction in the process.

You'd think that making the entire suite free would be an incredible gift and I suppose it is but I liked the fact that I owned it and therefore had some kind of rights and respect but their new terms and conditions show otherwise.

Anyway, all that aside. If i'm going to get something for free, I may as well go the Gimp route. It's a community thing and not a top down dictatorship like Canva is offering.

So I have a question. How easy is it to migrate from Affinity Photo to Gimp? What can I expect to discover in the process and what differences do I need to get my head around in order to understand this "alien" environment?

I was only ever really a basic user of Affinity Photo. I learnt what I needed to and would occasionally pick up new tricks and methods and was happy with my pace of learning. In fact, i'd not have bothered with looking elsewhere if it wasn't for Canva's ungainly "herding" methods. 

One of my main interests has been making large panoramas. I understand that Gimp isn't really the right vehicle for that, so i'm also wanting to learn Hugin. Between the two, it should cover pretty much anything I want to do.

I don't like being corralled in a direction I don't want to take, so it's time to switch for good.

Thoughts and replies welcome. I haven't started the tutorial phase yet, well at least not in earnest so if anyone has any particularly useful recommendations, bring it on!

Print this item

  GIMP 2.10 or 3 stuck loading with wifi
Posted by: theelf - 11-15-2025, 12:10 AM - Forum: General questions - Replies (5)

Hi! Sorry for my English. I have a problem: OSX Ventura x86, GIMP 2.10 or 3, same problem. When loading, the GIMP splash screen gets stuck for about 1 minute, and then it loads successfully.


However, if I disable Wi-Fi before starting GIMP, it starts almost instantly. The same happens if GIMP is stuck on the splash screen and I disable Wi-Fi — it immediately continues loading.

I tried blocking GIMP with the firewall and with LuLu, but nothing changed.

For now, I made an Automator script that disconnects the network, opens GIMP, and reconnects it afterward, but I’m looking for a proper solution. Sometimes I’m downloading a file, forget to disable Wi-Fi, open GIMP, and my download gets interrupted.



Thanks a lot for any help!

Print this item

  Random Clone
Posted by: mrkid - 11-14-2025, 04:16 PM - Forum: General questions - Replies (3)

Hi! Im looking to know if there is a way to random clone an object. I mean, that the size, rotation, or some other properties could be randomized to avoid the mechanical looking. By example, i want to add apples to a tree. I want that apples vary slighty so it looks more real.
I remember to see something like that with Gimp brushes.
Any tip?

Print this item