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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,001
» Latest member: Signman2025
» Forum threads: 7,412
» Forum posts: 40,347

Full Statistics

Latest Threads
Crockett 80s (Glitch Effe...
Forum: Gallery
Last Post: Q20Bruno
7 hours ago
» Replies: 5
» Views: 4,813
No keyboard shortcuts—all...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
7 hours ago
» Replies: 7
» Views: 180
@Tas_mania: soon at a ha...
Forum: Watercooler
Last Post: denzjos
9 hours ago
» Replies: 1
» Views: 55
Recent folders missing fr...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: sawzie
9 hours ago
» Replies: 2
» Views: 190
Forced to operate Gimp 3....
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
05-13-2025, 09:39 PM
» Replies: 2
» Views: 235
ofn3-layer-tiles
Forum: Extending the GIMP
Last Post: Ofnuts
05-13-2025, 09:33 PM
» Replies: 8
» Views: 1,133
ofn-flatten-cylinder
Forum: Extending the GIMP
Last Post: Ofnuts
05-13-2025, 09:09 PM
» Replies: 13
» Views: 5,297
New Install, Black Screen...
Forum: OSX
Last Post: Indeterminate
05-13-2025, 07:14 PM
» Replies: 2
» Views: 169
How to change default Win...
Forum: General questions
Last Post: oatmeal769
05-13-2025, 05:35 PM
» Replies: 2
» Views: 158
Gimp doesn't recognize mo...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
05-13-2025, 03:27 PM
» Replies: 2
» Views: 130

 
  The joys of AI in photo editing
Posted by: Ofnuts - 11-21-2024, 10:57 PM - Forum: Watercooler - Replies (3)

https://www.reddit.com/r/photography/com...ve_remove/

Print this item

  New user - layers question
Posted by: Allen - 11-21-2024, 07:52 PM - Forum: General questions - Replies (5)

Hi all. I am trying to do a photo collage (for a jigsaw) with one photo as the main background and then several others layered in and bordered which I will then eventually all flatten image for the final step. However when I copy in the smaller images as 'new layer', I can't seem to add a border to them even though the layer is selected. It adds the border to the main base layer photo not the one I have selected. I can rotate the smaller layers, soft focus etc, so they are definitely selected, it just seems to be the border than I can't add. I know I somehow managed to do this for a Christmas puzzle last year but I now can't figure it out. Help please!

Print this item

  My scaling box only works intermittently here is a video to show
Posted by: Holographic Breathing - 11-21-2024, 01:08 PM - Forum: General questions - Replies (3)

Sometimes my scaling box works in gimp and sometimes not. I'm sure I'm missing a button somewhere to press or something.
I've made a small video to show my problem – https://youtu.be/0-qWTTc4pKw

Any help will be very much appreciated, thank you in advance.

Print this item

  Transparent box above text box
Posted by: BrianO - 11-21-2024, 08:57 AM - Forum: General questions - Replies (5)

Hi,
When i add a Text layer, a transparent box appears just above. Unfortunately this box disturbs, how can i deactivate or move it?

Print this item

  3.0 Plugin/Script Repository?
Posted by: CtrlAltDel - 11-21-2024, 08:16 AM - Forum: Extending the GIMP - Replies (5)

As everyone is reworking/tweaking/creating plugins and scripts that function with 3.0, will there be a thread here dedicated to ones that have been successfully utilized with 3.0?

We all have a ton of plugins and scripts that need to function with 3.0, I would assume, and it would be insanity to start requesting specific ones and expect any prompt assistance with the changeover going on.

Will there be a single thread, maybe, where posters can follow a link for a specific listed plugin/script or maybe just download it from here after someone has been kind enough to list them here, whichever ones they may be?

For example, everyone could just come and check out the thread to see if anyone has converted/created/updated their favorite plugins/scripts without having to pressure anyone or aggravate anyone by asking.

Print this item

Question _gimp_procedure_run_array: no return values, shouldn't happen
Posted by: JustJamie - 11-21-2024, 03:17 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (3)

I recently installed Gimp 3.0.0-RC1 using the windows installer (on Win 11 - 64-Bit).

I am new to plug-in development, having only written one plug-in for Gimp 2.10.38 just last week.  The 2.10 plug in works as I expect it to.  In learning plug-in development, I discovered 3.0.0-RC1 and decided to install it and convert my plug-in to work with 3.0.  To start, I attempted to create a simple, "Hello, World!" plug-in.  Currently I have: 

Code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
#   GIMP - The GNU Image Manipulation Program
#   Copyright (C) 1995 Spencer Kimball and Peter Mattis
#
#   gimp-tutorial-plug-in.py
#   sample plug-in to illustrate the Python plug-in writing tutorial
#   Copyright (C) 2023 Jacob Boerema
#
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 3 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <https://www.gnu.org/licenses/>.

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 AnimateDrawableOffsets(Gimp.PlugIn):
   def __init__(self):
       super().__init__()
       self.test_cfg = None
       self.log = None
       
   def do_query_procedures(self):
       return [ 'animate-drawable-offsets' ]

   def do_set_i18n (self, name):
       return (False, None, None)

   def do_create_procedure(self,name):
       procedure = Gimp.ImageProcedure.new(self, name, Gimp.PDBProcType.PLUGIN,self.run,None)
       procedure.set_image_types("*")
       procedure.set_sensitivity_mask(Gimp.ProcedureSensitivityMask.DRAWABLES | Gimp.ProcedureSensitivityMask.DRAWABLE)
       procedure.set_menu_label("Animate Drawable Offsets...")
       procedure.add_menu_path('<Image>/Filters/Animation/')
       procedure.set_documentation("Animate Drawable Offsets","Animates offsets of active drawable in new image according to user defined settings.",name)
       procedure.set_attribution("Jamie Miller","Jamie Miller","2024")

       return procedure

   def run(self, procedure, run_mode, image, n_drawables, drawables, config, run_data):
       # function code goes here...
       Gimp.message("Hello world!")

       return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())

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

I can select the plug in from the menu just fine, but I am not seeing output in the Error Console (as I think that is where Gimp.message() outputs the message) and I am seeing the following error in the terminal window:

Code:
(animate-drawable-offsets.py:35024): LibGimp-WARNING **: 20:54:36.115: _gimp_procedure_run_array: no return values, shouldn't happen
C:\Users\dontl\AppData\Roaming\GIMP\3.0\plug-ins\animate-drawable-offsets\animate-drawable-offsets.py:62: Warning: g_error_new: assertion 'domain != 0' failed
 Gimp.main(AnimateDrawableOffsets.__gtype__, sys.argv)

I have tried google the error messages but only found one thread regarding foggify that didn't seem to provide a relevant fix.  I also read the thread regarding the "group-selected-by" plug-in and followed some suggestions in that thread to update my code but I am still seeing the error....

Any help to resolve this would be great....

(11-21-2024, 03:17 AM)JustJamie Wrote: UPDATED:
Code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
#   GIMP - The GNU Image Manipulation Program
#   Copyright (C) 1995 Spencer Kimball and Peter Mattis
#
#   gimp-tutorial-plug-in.py
#   sample plug-in to illustrate the Python plug-in writing tutorial
#   Copyright (C) 2023 Jacob Boerema
#
#   This program is free software: you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 3 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#   along with this program.  If not, see <https://www.gnu.org/licenses/>.

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 AnimateDrawableOffsets(Gimp.PlugIn):
   def __init__(self):
       super().__init__()
       self.test_cfg = None
       self.log = None
       
   def do_query_procedures(self):
       return [ 'animate-drawable-offsets' ]

   def do_set_i18n (self, name):
       return (False, None, None)

   def do_create_procedure(self,name):
       procedure = Gimp.ImageProcedure.new(self, name, Gimp.PDBProcType.PLUGIN,self.run,None)
       procedure.set_image_types("*")
       procedure.set_sensitivity_mask(Gimp.ProcedureSensitivityMask.DRAWABLES | Gimp.ProcedureSensitivityMask.DRAWABLE)
       procedure.set_menu_label("Animate Drawable Offsets...")
       procedure.add_menu_path('<Image>/Filters/Animation/')
       procedure.set_documentation("Animate Drawable Offsets","Animates offsets of active drawable in new image according to user defined settings.",name)
       procedure.set_attribution("Jamie Miller","Jamie Miller","2024")

       return procedure
##UPDATED function definition to remove 'run_data' parameter
   def run(self, procedure, run_mode, image, n_drawables, drawables, config):
       # function code goes here...
       Gimp.message("Hello world!")

       return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())

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


OK.....so, after re-reading the error message, I noticed it also included the line, " missing 1 required positional argument: 'run_data'"...removing this parameter from the definition for the run function allows the plug-in to operate and I can now see the "Hello, World!" message in the error console.....

I do not know what this parameter is for, or how removing it will affect the plug-in development.  For now, I will keep researching what this parameter is used for and how it becomes populated with run_data.

Print this item

  Volunteers needed to run a select-polygon test
Posted by: gasMask - 11-19-2024, 01:08 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (7)

Windows 10
Gimp 3.0.0 RC1

Hi,

I'm looking for volunteer(s) to run this test plug-in. The plug-in creates an image and selects a square polygon at the topleft of the image.

At least that what's it's supposed to do. However, the plug-in will crash while failing to select the polygon. The failure appears to be in the procedure: 'gimp-image-select-polygon'.

Code:
       procedure = Gimp.get_pdb().lookup_procedure(
           'gimp-image-select-polygon'
       )
       config = procedure.create_config()
       config.set_property('image', image)
       config.set_property('operation', Gimp.ChannelOps.REPLACE)

       # Define a square of four points
       # positioned at the topleft of the image.
       config.set_property(
           'segs', (0., 0., 250., 0., 250., 250., 250., 0.)
       )
       procedure.run(config)

I'm willing to report the bug to Gimp.org, but I believe it's a good idea to have some proof before doing so. There's also the possibility that I'm doing something wrong, and someone could point that out.

To install the plug-in copy the folder into a Gimp 3 plug-in folder. After Gimp is restarted, the plug-in will appear on the Gimp window menu under "Development".

Thanks for your attention.

.zip   SelectPolygonTest.zip (Size: 1.35 KB / Downloads: 85)

Print this item

  How to crop an image to 1280 x 720?
Posted by: Holographic Breathing - 11-19-2024, 12:15 AM - Forum: General questions - Replies (7)

How do I crop an image to 1280 x 720?
Thank you for any information

Print this item

Sad Color in gif got weird when combining multiple together
Posted by: remyk - 11-18-2024, 06:00 PM - Forum: General questions - Replies (3)

Hi folks! I was creating a gif of a product by taking separate gifs and stills of different product views and then combining them into one gif using GIMP (manipulating these as separate layers). But four of the gifs (taken with the program LICEcap) would have really messed up colors when I combined it with the others. I attached a .png of a still from one of those gifs.

For these four gifs, I first grabbed the gif using LICEcap, then I uploaded it to Canva to put the gif on a static background, and then I took that and loaded it into GIMP with the intention of combining each with other static images/gifs.

I was able to solve this by doubling up the "background" layer on the very first gif this was happening with; literally just making a copy of it. The other three I have not been able to resolve. I played around with making/removing the "background" layer of the gif as an alpha channel (though I don't fully understand this concept), but this did nothing. 

It's weird to me, because these gifs look totally normal on their own, and when I edit them on their own. It's only when I brought them into the final gif document to combine them that they got weird. 

I ended up using an online program (ezgif.com) to fix the issue, because I was on a time crunch. When I loaded the gifs that were problematic in GIMP onto ezgif, they did not display weirdly. However, going forward I want to use GIMP!

Any help and insights is greatly appreciated!



Attached Files Thumbnail(s)
   
Print this item

  arrow to the right, but not left
Posted by: PixLab - 11-18-2024, 04:22 AM - Forum: Gimp-Forum.net - Replies (10)

Hello my favorite Admins/moderators Smile

We can do arrow to the right by doing 2 angle brackets to the right > > = ➤ , but we cannot do it the other side << Big Grin
For reference I wanted to do it on this post ➤ https://www.gimp-forum.net/Thread-Digika...8#pid40998 but nope no can do Big Grin

Thanks for reading, and have a great day.

Print this item