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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,916
» Latest member: BorrowedWifi
» Forum threads: 7,362
» Forum posts: 40,094

Full Statistics

Latest Threads
Converting python plugin-...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: n3306tx
48 minutes ago
» Replies: 43
» Views: 4,232
Script-Fu in GIMP 3 websi...
Forum: Extending the GIMP
Last Post: crogonint
7 hours ago
» Replies: 2
» Views: 477
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
8 hours ago
» Replies: 7
» Views: 687
RemoveBG, how to install ...
Forum: Extending the GIMP
Last Post: rich2005
Today, 09:11 AM
» Replies: 13
» Views: 488
Cannot install gimp-help ...
Forum: General questions
Last Post: rich2005
Today, 08:30 AM
» Replies: 3
» Views: 699
selecting a fixed size re...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 12:30 PM
» Replies: 4
» Views: 214
New color : olo
Forum: Watercooler
Last Post: denzjos
Yesterday, 07:51 AM
» Replies: 0
» Views: 103
Windows Portable Gimp 3.0...
Forum: Alternate Gimp packagings
Last Post: rich2005
04-19-2025, 07:57 PM
» Replies: 0
» Views: 141
Masking/Cutting/Layering?
Forum: General questions
Last Post: rich2005
04-19-2025, 07:43 PM
» Replies: 1
» Views: 152
Need help installing Resy...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
04-19-2025, 05:58 PM
» Replies: 3
» Views: 226

 
  How to work with effects in GIMP Python?
Posted by: joeyeroq - 04-02-2025, 09:32 PM - Forum: Scripting questions - Replies (4)

In GIMP 2 you could threshold the alpha channel (Layer > Transparency > Threshold Alpha...), in Python console equivalent was:

Code:
image = gimp.image_list()[0]
layer = image.layers[0]
# image,layer,threshold.
pdb.plug_in_threshold_alpha(image,layer,0)

In GIMP 3 Threshold Alpha has become a filter ("fx" icon next to the layer)
I can do in GIMP 3:

Code:
image = Gimp.get_images()[0]
layer = image.get_selected_layers()[0]
# Add Threshold Alpha layer fx (Layer > Transparency > Threshold Alpha...).
filter1 = Gimp.DrawableFilter.new(layer, 'gimp:threshold-alpha', 'My Threshold Alpha')
# Add Gaussian Blur layer fx (Filters > Blur > Gaussian Blur...).
filter2 = Gimp.DrawableFilter.new(layer, 'gegl:gaussian-blur', 'My Gaussian Blur')
layer.append_filter(filter1)
layer.append_filter(filter2)
But this does the filters in default settings.
How do I change the settings of the filters, for example how do i set the alpha value to 0 of 'My Threshold Alpha'?
   

Print this item

  GIMP 3.0 crashing
Posted by: rdoty - 04-02-2025, 08:42 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

I keep getting the error message "Plug-in crashed: "file-svg.exe".   I've reloaded 3.0 but no change.  Do I need to delete current program and start over with a new download or is there some easy fix?  Thanks in advance.

Print this item

  0xc000007b error
Posted by: roberts - 04-02-2025, 03:32 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (3)

Hello,

I installed GIMP 3.02 on a Windows 11 ARM computer.
When launching GIMP, a twain.exe application error window displays "The application could not start correctly error 0xc000007b," then GIMP runs correctly.
Thank you for your help.

Roberts

Print this item

  Version 3 seems to have installation issues.
Posted by: brianleach - 04-02-2025, 11:46 AM - Forum: Windows - Replies (3)

Still on Windows 10 and have had no issues with previous GIMP versions.

However versions of 3 have an issue.

The installation appears to have no issues and on completion asks you if you wish to start the program. You say yes and the interface for version 3 opens with no problem. However (whether you pin it to the taskbar or not) on closing it cannot be opened again as it has been installed and defaults to the exe for the previous version.

Foolishly I thought if I uninstalled that version a new 3 would be set up but there appears to be no way to say where the new version would be located so it fails.

In the App Data there are separate folders for each version but I cannot find an exe file.

I have therefore had to reinstall an earlier version and the latest download I could find is 2.8.22 although I am sure I had perhaps 2.10. 

What am I doing wrong please.

Print this item

  I need an ISO of Gimp 2.1 Ubuntu Deb..
Posted by: KiddyComputers - 04-02-2025, 07:54 AM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (2)

I'm running Linux Mint Mate 20.3 in a hundred notebooks for terminally ill kids in children's hospitals.. Often I must reinstall the OS in their computers because somehow a few of them kill the OS's.. But now when I configure the new Gimp in their notebooks, restart brings Gimp up not configured.. Seems I need an old version of Gimp for the kiddies computers running Linux Mint Mate 20.3.. I'd like to acquire a complete simple basic install ISO download of Gimp 2.1 so I can install it from a flash drive.. I just spent an hour bouncing around various older version Gimp websites downloading stuff here there and everywhere that doesn't work, in trying to find a suitable download ISO of the older Gimp that actually works in an Ubuntu-20.3 related OS, but I just can't find it.. Everything has been ultra modernized.. Can someone please tell me where I can find an old download of Gimp that actually works to install Gimp when you just click on the downloaded file...

---deleted inappropriate content for this forum---
---try and keep to Gimp graphics editing subjects only---

Does Gimp have an archives download website like how Linux Mint has this archive download website..?
https://thingsthemselves.com/linux-mint-archives/

Print this item

  Python Script Another Discrepency
Posted by: silenuznowan - 04-01-2025, 08:37 PM - Forum: Extending the GIMP - Replies (7)

I had a function in version 2 that inserted layers into a specific layer group.

I'm now trying to use the same procedure in Gimp 3 but have run into a type error.

First here's the doc:

Quote:This procedure adds the specified layer to the image at the given position. If the specified parent is a valid layer group (See 'gimp-item-is-group' and 'gimp-layer-group-new') then the layer is added inside the group. If the parent is 0, the layer is added inside the main stack, outside of any group. The position argument specifies the location of the layer inside the stack (or the group, if a valid parent was supplied), starting from the top (0) and increasing. If the position is specified as -1 and the parent is specified as 0, then the layer is inserted above the active layer, or inside the group if the active layer is a layer group. The layer type must be compatible with the image base type.


However if I pass a valid GroupLayer as the value of parent I get the following error:


Code:
TypeError: could not convert (<PDBStatusType.SUCCESS: 3>, <Gimp.GroupLayer object at 0x7f359387fa40 (GimpGroupLayer at 0x5596f842c040)>)
to type 'GimpLayer' when setting property 'GimpProcedureConfig-gimp-image-insert-layer.parent'

Is there another way to insert layers into a specific LayerGroup ?

Edit I was trying to further figure things out and I notice that passing a LayerGroup to the procedure gimp-item-is-group results in a similar typecast error:


Code:
TypeError: could not convert (<PDBStatusType.SUCCESS: 3>, <Gimp.GroupLayer object at 0x7f70a7ebb180 (GimpGroupLayer at 0x5561a26ba060)>)
to type 'GimpItem' when setting property 'GimpProcedureConfig-gimp-item-is-group.item'


Thanks.

This was human error on my part passed the wrong item.  Sorry.

Print this item

  Gimp 3.0 AI Plugins - Updated
Posted by: nchen - 04-01-2025, 04:45 PM - Forum: Extending the GIMP - Replies (2)

Hello everyone,

I have updated my AI plugins for GIMP 3. It's still a work in progress, but it's in a usable state. Feel free to reach out to ask questions or suggest improvements!
They also no longer require specific workflows or custom nodes, unless you intend to use LoRAs.
Currently I'm looking to update the previous auto selection feature to GIMP 3 as well as add AI upscaling options. These features are currently possible if you have an understanding of ComfyUI, but I intend to simplify the process and break them into their own plugins.

Video Demonstration
Github

Edit: Most of the dialog box options (ksampler, checkpoint, lora selection) and previews are optional. It should use the defaults within your selected workflow if values are not available.

Print this item

  Changing Colors
Posted by: tomtom - 04-01-2025, 10:39 AM - Forum: General questions - Replies (5)

Dear Forum,
I have a picture with a secret message that you can only see if you look at it through a red filter.
I would like to change the image so that the message remains invisible to the naked eye, but becomes visible through a blue filter.
Is there a way to do this?
Thank you very much.



Attached Files Thumbnail(s)
   
Print this item

  RawTherapee plugin
Posted by: Cerebum - 04-01-2025, 10:04 AM - Forum: OSX - Replies (6)

Hi
New member, first post Smile I want to replace Adobe with Gimp and RawTherapee but I can't get them to talk to one another. What am I doing wrong? I am using a 2015 macbook running Monteray OS. Any help would be gratefully received but please bear in mind that I am not massively tech savvy. Thanks Smile



Attached Files Thumbnail(s)
   
Print this item

  Availability of GTk3 Python bindings in Windows & OSX
Posted by: Ofnuts - 03-31-2025, 09:03 PM - Forum: Extending the GIMP - Replies (4)

Can anyone try this and report? In the Gimp 3.00 python console, enter:

Code:
import gi

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
win = Gtk.Window()
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()

This should start a small empty Window. Closing the Window will then also close the Python console.

Please report success or state error messages.

Thanks.

Print this item