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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,083
» Latest member: phyllis
» Forum threads: 7,792
» Forum posts: 42,318

Full Statistics

Latest Threads
Display not keeping up wi...
Forum: Extending the GIMP
Last Post: nmw01223
3 hours ago
» Replies: 2
» Views: 148
GIMP won't start after fr...
Forum: Windows
Last Post: Mark-GIMP
3 hours ago
» Replies: 0
» Views: 34
Preferences/Folders shows...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: programmer_ceds
4 hours ago
» Replies: 6
» Views: 3,828
Perspective tool anchors.
Forum: Extending the GIMP
Last Post: denzjos
Yesterday, 04:01 PM
» Replies: 7
» Views: 392
Safe Technique to Unlock ...
Forum: Watercooler
Last Post: denzjos
01-24-2026, 11:43 AM
» Replies: 2
» Views: 206
script-fu examples - batc...
Forum: Extending the GIMP
Last Post: rich2005
01-24-2026, 09:56 AM
» Replies: 0
» Views: 110
Writing a simple python p...
Forum: Scripting questions
Last Post: rich2005
01-23-2026, 04:12 PM
» Replies: 7
» Views: 400
How to get the full path ...
Forum: Extending the GIMP
Last Post: nmw01223
01-23-2026, 02:52 PM
» Replies: 10
» Views: 660
Gradient Tool
Forum: General questions
Last Post: james22
01-23-2026, 01:29 PM
» Replies: 4
» Views: 381
Basic Tutorial Example
Forum: Extending the GIMP
Last Post: nmw01223
01-22-2026, 02:52 PM
» Replies: 6
» Views: 1,527

 
  Installing new patches? (edit: patterns)
Posted by: Joe - 01-10-2025, 10:31 PM - Forum: General questions - Replies (5)

Searched through this forum without success, as I am NOT an advanced pc computer person by any means.  Purchased a new pc, its been updated to windows 11.  Downloaded Gimp 3.0.  The old machine croaked and took my personal patch collection with it.  I've been searching and searching for a method to install new ones without success.  Frankly, I can't even get windows in its infinite wisdom, to allow me to even locate the folders, where I believe new patches would reside in Gimp.  Anyone know where there's a relatively SIMPLE tutorial to install new patches?  Was hoping there was a tutorial to install them utilizing Gimp, and not cracking the mysterious codes within the Gimp files scenario via windows.  For your consideration - I thank you.

Print this item

  displacement plugin
Posted by: vivi-d - 01-10-2025, 07:43 PM - Forum: Extending the GIMP - Replies (1)

Hello, I'm trying to create a plugin that will move the selection as if it's 'displacing' pixels as it moves. More specifically, if moving one pixel to the right, it will take all the pixels just to the right of the selection and place them on the left side of the selection. 

If I had a way to test if a certain pixel is inside the selection or not, I could hack something together. So far I haven't found a way to test pixels for whether they are selected or not.

What do you guys think?

Print this item

  problem adding "stable-diffusion" plug-in on ubuntu 24.04
Posted by: dennix91 - 01-10-2025, 09:36 AM - Forum: Extending the GIMP - Replies (1)

Sorry in advance if solution already exist somewhere.
On ubuntu 24.04 I installed the following version of gimp:
*** 2.10.38-0build4~ubuntu2404 500
https://ppa.launchpadcontent.net/ubuntuh...imp/ubuntu noble/main amd64
then downloaded: gimp-2-10-38-overlay-py2.AppImage  from https://github.com/TasMania17/Gimp-Appim...p-v2.10.38
and made it executable with chmod +x command
then, follwing: https://github.com/blueturtleai/gimp-sta...tablehorde
I downloaded gimp-stable-diffusion-horde.py
and paste it in plug-in folder as said.
unfortunately no AI button appear in the menu
can anyone please help me to solve this problem?
thanks to all

Print this item

  GEGL kaleidoscope
Posted by: trandoductin - 01-10-2025, 01:24 AM - Forum: General questions - Replies (8)

I looked at the gegl command.py
and I have no clue how to make it so that I can call kaleidoscope... from python fu for GIMP 2.10
any help available?

Print this item

  Documentation
Posted by: Deedolith - 01-08-2025, 11:16 PM - Forum: Extending the GIMP - Replies (3)

Hello,

I am looking for any Gimp 3 python API documentation link.

For now, I am mainly searching on Google, wich most of the time, yeld Gimp 2 API results (outdated), or C API (nice but translating from C to python is a PITA, too many trials and errors).

Print this item

  Plug-in help
Posted by: Deedolith - 01-07-2025, 05:28 PM - Forum: Extending the GIMP - Replies (12)

Hello,

I am having an hard time writing my first plus-in in Python.
I wrote a simple "Hello World" plug-in.
It show up in the menus (so the do_create_procedure member function work as intended).
It show up in the python procedures browser (so the do_query_procedures member function work as intended).
But it does not produce anything in the errors window and that leave me completly clueless.
What did I do wrong ?

Here is the source code:

Code:
import sys
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 GLib

class Plugin (Gimp.PlugIn):
   def do_query_procedures(self):
       return [ "fl-plug-in-Hello-World" ]

   def do_set_i18n (self, name):
       return False

   def do_create_procedure(self, name):
       procedure = Gimp.ImageProcedure.new(self, name,
                                           Gimp.PDBProcType.PLUGIN,
                                           self.run, None)

       procedure.set_image_types("*")

       procedure.set_menu_label("Hello World Python plug-in")
       procedure.add_menu_path('<Image>/Filters/My Scripts/')

       procedure.set_documentation("Hello World",
                                   "Python 3 plug-in for GIMP 3.0",
                                   name)
       procedure.set_attribution("Fabrice", "Lambert", "2025")

       return procedure

   def run(self, procedure, run_mode, image, n_drawables, drawables, config, run_data):
       Gimp.message("Hello world!")
       # do what you want to do, then, in case of success, return:
       return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())

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

Print this item

Question Optical blur
Posted by: ogogon - 01-06-2025, 11:19 PM - Forum: Extending the GIMP - Replies (3)

I know that in Camera Raw and Lightroom there is a functionality that immitting optical blurring behind a facet of depth of sharpness. I do not really understand how they do it without voodoo magic, but in general, they somehow realized it.

Is there a similar functionality in the GIMP? (Once again, I'm not talking about blurring the selected area of the raster image, but about the almost complete emulation of the move of the depth of sharpness.)

Grateful for the answers,
Ogogon.

Print this item

  Grid Pencil Misallignment
Posted by: Abdullah2025 - 01-06-2025, 12:44 PM - Forum: General questions - Replies (7)

The pencil tool does not allign with the tile of a grid even when the grid size and brush size are the same, except for when both are one. Instead on 2 by 2 grid size, the 2 pixel pencil creates like a plus cursor which spills out of the tile. I have enabled snap to grid on, but this still happens. Also I have tried various settings like changing the offset and spacing but they don't fix the problem either. How can this be fixed?



Attached Files Thumbnail(s)
   
Print this item

  HSV missing from Mode menu
Posted by: guylgardner - 01-05-2025, 11:42 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (1)

I am trying the smart sharpening recommendation posted on the Gimp web site. But in Image -> Mode menu HSV does not show up as an option 

I am on the current Mac OS version on my M1 Mac mini and just downloaded GIMP from the official website today. 

Why is RSV missing? What do I do t get it to show up?

I appreciate any help you can provide.

I have a bunch of older pics from family and would love to sharpen them up.

See attached screen snap images.

Thanks,
Guy


(01-05-2025, 11:42 PM)guylgardner Wrote: I am trying the smart sharpening recommendation posted on the Gimp web site. But in Image -> Mode menu HSV does not show up as an option 

I am on the current Mac OS version on my M1 Mac mini and just downloaded GIMP from the official website today. 

Why is RSV missing? What do I do t get it to show up?

I appreciate any help you can provide.

I have a bunch of older pics from family and would love to sharpen them up.

See attached screen snap images.

Thanks,
Guy

PS. An older version showed the same thing on this same Mac earlier today.



Attached Files Image(s)
           
Print this item

  How do I fill and avoid smooth brush screwing things up?
Posted by: Jonathan790 - 01-04-2025, 11:59 PM - Forum: General questions - Replies (3)

Any tips? See picture, as you can see the black shadow is messed up as I fill it due to having used a smooth ink tool to draw the lines. Fuzzy select + grow kind of helps but then you lose the benefit of the smooth edges.



Attached Files Thumbnail(s)
   
Print this item