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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,077
» Latest member: Brantanson01
» Forum threads: 7,790
» Forum posts: 42,307

Full Statistics

Latest Threads
script-fu examples - batc...
Forum: Extending the GIMP
Last Post: rich2005
10 minutes ago
» Replies: 0
» Views: 2
Perspective tool anchors.
Forum: Extending the GIMP
Last Post: denzjos
1 hour ago
» Replies: 2
» Views: 105
Safe Technique to Unlock ...
Forum: Watercooler
Last Post: rich2005
1 hour ago
» Replies: 1
» Views: 15
Writing a simple python p...
Forum: Scripting questions
Last Post: rich2005
Yesterday, 04:12 PM
» Replies: 7
» Views: 317
How to get the full path ...
Forum: Extending the GIMP
Last Post: nmw01223
Yesterday, 02:52 PM
» Replies: 10
» Views: 556
Gradient Tool
Forum: General questions
Last Post: james22
Yesterday, 01:29 PM
» Replies: 4
» Views: 270
Basic Tutorial Example
Forum: Extending the GIMP
Last Post: nmw01223
01-22-2026, 02:52 PM
» Replies: 6
» Views: 1,464
affinity now free
Forum: Other graphics software
Last Post: denzjos
01-21-2026, 09:13 AM
» Replies: 0
» Views: 135
Where does python debug o...
Forum: Extending the GIMP
Last Post: nmw01223
01-20-2026, 11:37 PM
» Replies: 3
» Views: 260
'The Windows 11 Crisis' V...
Forum: Watercooler
Last Post: Tas_mania
01-20-2026, 08:59 PM
» Replies: 3
» Views: 349

 
  script-fu examples - batch export
Posted by: rich2005 - 10 minutes ago - 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 - 5 hours ago - Forum: Watercooler - Replies (1)

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 - Yesterday, 09:53 PM - Forum: Extending the GIMP - Replies (2)

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: 15)
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

  GIMP Window Changes Size on Any Action
Posted by: Jeremy_Ray - 01-18-2026, 06:35 PM - Forum: Linux and other Unixen - Replies (5)

GIMP is 3.0.6, OS is Kubuntu 24.04

Here is how it is supposed to look, crammed into the screen space of my little Cintiq 12WX - 

[Image: gimp-fullscreen-setup.jpg]



Any action at all causes the main window to shrink down like this - 



[Image: gimp-shrunk-window.jpg]

What could be causing it to do this?  

Incidentally, I tried the option to merge the GIMP menu bar with the system menu bar.  I then turned it off, which didn't turn it off.  I then reset the preferences, which didn't turn it off.  I then uninstalled GIMP (using snap, which I installed GIMP with), shut down the computer, turned the computer back on and reinstalled GIMP.  That didn't restore the system menu bar either.  I don't know if that has anything to do with this problem or not. 

Incidentally, the rulers and status bar should be turned off, but they've stuck around anyway.

Print this item

  Gimp for MacOS 10.13.6
Posted by: Gerard118218 - 01-18-2026, 05:20 PM - Forum: Older Gimp versions (2.8, 2.6....) - Replies (2)

Hi,
I try to install gimp but it says that i need MacOS11 on my macbook, but I can't install MacOS11 because the computer is to old.
Is there a version of gimp who's compatible with MacOS 10.13.6 please ?
Thanks a lot

Print this item