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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,086
» Latest member: markbaker
» Forum threads: 7,792
» Forum posts: 42,320

Full Statistics

Latest Threads
GIMP won't start after fr...
Forum: Windows
Last Post: denzjos
Yesterday, 05:04 PM
» Replies: 2
» Views: 147
Display not keeping up wi...
Forum: Extending the GIMP
Last Post: nmw01223
01-26-2026, 06:39 PM
» Replies: 2
» Views: 214
Preferences/Folders shows...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: programmer_ceds
01-26-2026, 05:21 PM
» Replies: 6
» Views: 3,891
Perspective tool anchors.
Forum: Extending the GIMP
Last Post: denzjos
01-25-2026, 04:01 PM
» Replies: 7
» Views: 432
Safe Technique to Unlock ...
Forum: Watercooler
Last Post: denzjos
01-24-2026, 11:43 AM
» Replies: 2
» Views: 262
script-fu examples - batc...
Forum: Extending the GIMP
Last Post: rich2005
01-24-2026, 09:56 AM
» Replies: 0
» Views: 126
Writing a simple python p...
Forum: Scripting questions
Last Post: rich2005
01-23-2026, 04:12 PM
» Replies: 7
» Views: 443
How to get the full path ...
Forum: Extending the GIMP
Last Post: nmw01223
01-23-2026, 02:52 PM
» Replies: 10
» Views: 722
Gradient Tool
Forum: General questions
Last Post: james22
01-23-2026, 01:29 PM
» Replies: 4
» Views: 481
Basic Tutorial Example
Forum: Extending the GIMP
Last Post: nmw01223
01-22-2026, 02:52 PM
» Replies: 6
» Views: 1,580

 
  GIMP won't start after fresh install
Posted by: Mark-GIMP - 01-26-2026, 06:28 PM - Forum: Windows - Replies (2)

Title says it all.
I've been using GIMP for more than a decade on a few computers.
This time a fresh install doesn't start.
Absolutely nothing.

Suggestions?

Print this item

  Display not keeping up with image changes in plug-in
Posted by: nmw01223 - 01-25-2026, 05:42 PM - Forum: Extending the GIMP - Replies (2)

I am new to writing plug-ins - I've only done two. They are python on Gimp 3.0.6, running on Windows 11.

This one opens an image from a file and then assigns a display as follows:

Code:
    infile = Gio.File.new_for_path(os.path.join(img_folder, img_name))
    img = Gimp.file_load(Gimp.RunMode.INTERACTIVE, infile)
    disp = Gimp.Display.new(img)
This all works, it shows up on the display.

Then, the display is resized, new values are calculated:
Code:
img.scale(new_width, new_height)
It is then written out to a JPEG, rescaled again down to thumbnail size, and written out again.

Then the image is cleaned up and the display deleted, which removes the image as well.
Code:
img.clean_all()
disp.delete()
Then the whole process starts again with a new file.

It all basically works fine, the JPEGs turn up OK. But, as the images are progressively shrunk, the display doesn't keep up. Basically, it's hard to describe or show, but just pieces of the shrunken images show up. I could if necessary try to video it.

But, if I run the commands one by one in the python console, no problem at all, it all looks fine. I assume this is because it is done slowly. The display is probably on a diffierent thread and isn't getting a look in when running at speed.

It isn't a show stopper, the files are fine, but it looks messy.

Is there a way round this, flushing all the display commands, for example,? Cannot find anything in Gimp.Display.

Print this item

  script-fu examples - batch export
Posted by: rich2005 - 01-24-2026, 09:56 AM - Forum: Extending the GIMP - No Replies

This is a script-fu batch plugin. https://www.maxbronner.dev/blog/dev_2025-03-26
and for a download https://github.com/max-bronner/gimp3-ima...ort-plugin

The only comment I have on that is for linux make sure that batch-export.scm is made executable.

It scales then exports opened images in a variety of formats.  That might not be what you specifically want but it is relatively clear as to the export syntax which is useful.

Print this item

  Safe Technique to Unlock PST File on All Windows Versions
Posted by: Brantanson01 - 01-24-2026, 05:06 AM - Forum: Watercooler - Replies (2)

I am unable to access my Outlook PST file because it is password-protected. I have tried opening it on various Windows versions, but the issue persists. Is there any safe and reliable technique to unlock a PST file on all Windows versions without risking data loss? Please suggest a practical solution.

Print this item

Star Perspective tool anchors.
Posted by: LeonardCarlCampbell - 01-23-2026, 09:53 PM - Forum: Extending the GIMP - Replies (7)

When using the perspective tool to modify an image that needs much adjustment the process could be made better. It appears that the perspective tool anchors the original corners of the picture except for the one you are changing even after they have moved. Doing it this way causes the alignment of the other corners to change requiring you to readjust them (sometimes more than once). Wouldn't it be better to anchor the other corners on the new corner of the picture so they don't require readjustment after set? (Hope that makes sense). Or have a button for that option. First picture is original, second is first pass, third is second pass, 4th is final.



Attached Files Thumbnail(s)
               
Print this item

Brick Writing a simple python plugin
Posted by: LeonardCarlCampbell - 01-22-2026, 02:54 AM - Forum: Scripting questions - Replies (7)

Why is it so hard to create a plugin. I am trying to write a simple plugin to export the current image to a PNG file and then close the view. I am stuck at the save the image. Plugin attached.



Attached Files
.py   exportandclose.py (Size: 4.07 KB / Downloads: 53)
Print this item

  How to get the full path from a GFile
Posted by: nmw01223 - 01-21-2026, 11:09 AM - Forum: Extending the GIMP - Replies (10)

Development on Windows 11 using python 3 in Gimp 3.0.6.

I can find no way of getting the path from a GFile returned from the parameter setting dialog in a plugin.

A file parameter is created by

Code:
procedure.add_file_argument("src-folder",
                "Source folder",
                "Location of files to parse",
                Gimp.FileChooserAction.CREATE_FOLDER,
                False,
                None,
                GObject.ParamFlags.READWRITE)
The purpose of this is to allow browsing for a directory. It shows up in the plugin dialog as a directory browser, and a directory can be selected.

The parameter is then obtained after the dialog has run as
Code:
src_gfile = config.get_property("src-folder")
This has returned a GFile, not (unfortunately) a string path. The question is, how do I get the path out of the GFile? (I need it because I need to do some manipulations on it).

I've tried various things - src_gfile.get_path() produced nothing (though in another plugin I looked at it clearly did looking at the code, but that may have been on Linux, not Windows). I did find that if in the python console I create a GFile and get the path as
Code:
file = Gio.File.new_for_path("C:\\a\\b\\c")
file.get_path()
I do get the path as 'C:\a\b\c' - but not when it comes from the config as above.

src_gfile.get_uri() does produce the URI as a string, looking something line 'file:\\\C:\a\b\c'. Being a URI, it has the scheme on the from, and I can lose the 'file:\\\' by editing the string, but can't help feeling that is a bodge, certainly not cross platform.

I then found query_info(). So I tried
Code:
file_info = src_gfile.query_info("standard::*", Gio.FileQueryInfoFlags.NONE, None)
file_info.get_display_name()
I do get something back - but it's only the final leaf, ie 'c', not the full path and I can't find any method that does that.

So, basically, I can find no way of tidily get the full path as a string from a GFile. Can anyone help?

Print this item

  affinity now free
Posted by: denzjos - 01-21-2026, 09:13 AM - Forum: Other graphics software - No Replies

Canva has released version 3.0.3 of Affinity. The Affinity Suite previously consisted of the paid programs Photo, Designer, and Publisher, which were considered equivalent to Adobe's Photoshop, Illustrator, and InDesign. Starting with version 3.0.0, all applications have been consolidated into a single app, which is offered for free. A free Canva account is required to use the software. Some features, including generative AI, require a Canva Premium subscription. Affinity is available for Windows and macOS; the iOS version is still in development. 

https://www.affinity.studio/get-affinity

Print this item

  Where does python debug output go?
Posted by: nmw01223 - 01-20-2026, 05:36 PM - Forum: Extending the GIMP - Replies (3)

I'm trying to debug a python plugin on gimp 3.0.6 on Windows 11. I can get all the section of code to run in the python console, but nothing turns up in the plugin itself except the specified dialog.

I cannot find out where any message output goes. Is there any way of putting the equivalent of print() statements in the code and having it turn up on a console somewhere? I'm running it from the command line as gimp-3.0.exe --verbose.

Print this item

  Gradient Tool
Posted by: james22 - 01-19-2026, 11:24 PM - Forum: General questions - Replies (4)

Where is there some good information on how to create one gradient in one colour? I'm using V2.

James

Print this item