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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,007
» Latest member: Ismaelhib
» Forum threads: 7,742
» Forum posts: 42,070

Full Statistics

Latest Threads
Very, very nice startup t...
Forum: General questions
Last Post: mrkid
Yesterday, 04:37 PM
» Replies: 0
» Views: 105
Why does HTML/css scale i...
Forum: General questions
Last Post: Tas_mania
12-17-2025, 07:20 PM
» Replies: 1
» Views: 185
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: InquisitiveAsHell
12-17-2025, 07:40 AM
» Replies: 6
» Views: 658
Transparent Background Ad...
Forum: General questions
Last Post: Kramskry
12-16-2025, 08:52 PM
» Replies: 2
» Views: 328
Inside drop shadow maybe?...
Forum: General questions
Last Post: denzjos
12-16-2025, 04:45 PM
» Replies: 2
» Views: 250
gexport: Make-like tool f...
Forum: Extending the GIMP
Last Post: JohnHammersley
12-16-2025, 03:42 PM
» Replies: 0
» Views: 137
Help with colour matching
Forum: General questions
Last Post: denzjos
12-13-2025, 05:05 PM
» Replies: 1
» Views: 251
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
12-13-2025, 10:29 AM
» Replies: 14
» Views: 805
GIMP 3.x Python Plugin Is...
Forum: Scripting questions
Last Post: Ofnuts
12-13-2025, 08:53 AM
» Replies: 1
» Views: 250
Gimp larger than Screen
Forum: General questions
Last Post: sallyanne
12-13-2025, 03:53 AM
» Replies: 2
» Views: 281

 
  GIMP 3.0.4 Script-Fu Batch Issue: SF-TOGGLE Without Run-Mode
Posted by: AgHornet - 06-27-2025, 10:20 AM - Forum: Extending the GIMP - No Replies

Hi
Hoping someone might be able to help. I've tried so many ways to get this to register and run this simple example in batch mode on gimp 3.0.4
This particular example I am able to register but when its run it fails with a parameter mismatch. 

If I change SF-TOGGLE to something else like SF-INT it does not register. 
I've tried add run-mode the param definition, command line and registry but no combination seems to work. My understanding for 3.x.x is that I dont need to add it as it is automatically added.

I run this from a windows 11 command line. 
In the case of attempts that don't register (I open GUI go to Help > Plug in Browser and search for my script) I don't see any errors in the console (Windows > Dockable Dialogs > Error console) relating to registration problems.
I have put the script in ..Roaming\GIMP\3.0\plug-ins\test-args

Minimal Test Case That Failed
#!/usr/bin/env gimp-script-fu-interpreter-3.0

(define (script-fu-test-args arg1 arg2 arg3)
  (script-fu-use-v3)
  (gimp-message (string-append
                "Arg1 (Toggle): " (if arg1 "TRUE" "FALSE") "\n"
                "Arg2 (String): " arg2 "\n"
                "Arg3 (String): " arg3 "\n"))
)

(script-fu-register
  "script-fu-test-args"
  "Test Args"
  "Test argument passing"
  "Author"
  "2024"
  ""
  SF-TOGGLE "Toggle Test" TRUE
  SF-STRING "First String" ""
  SF-STRING "Second String" ""
)

Command Used
gimp -i --batch-interpreter=plug-in-script-fu-eval -b "(script-fu-test-args TRUE \"test1\" \"test2\")" -b "(gimp-quit 0)"

Error output
batch command experienced an execution error:
Error: in script, expected type: numeric for argument 2 to script-fu-test-args
Stopping at failing batch command [0]: (script-fu-test-args TRUE "test1" "test2")

Expected Behaviour
Script registers with one toggle and two string parameters
Batch mode should accept: Boolean TRUE/FALSE for the toggle. Two string arguments.
Should output the three parameter values

Observed Behaviour
Script registers successfully in GUI
Appears in menu
Batch mode fails with type mismatch for argument 2

Key Differences from GIMP 2.x
3.x seems to:
Handle the toggle parameter differently
Require numeric values even for registered strings
Have stricter type checking in batch interpreter

(Tested on Windows 11, GIMP 3.0.4)

Print this item

Thumbs Down Windows save
Posted by: Jukken - 06-26-2025, 10:51 AM - Forum: General questions - Replies (3)

I have three monitors and a TV connected to my PC.
TV is usally turned off.

Gimp is on one of the monitors.

I go to Save As or Export As in gimp. 
The pop-up where I put in name for the file is nowhere to be seen. Nothing.

Then I turn on the TV - and there it is. Extremly frustrating.
I drag the save-window to the correct monitor.

I then go to Preferences and go to Window management - Save Window Positions Now.

ok, all good - so I thought.

Shut down Gimp and restart program.
Try and save again - and the **** save-window tops up on my friggin TV (that is shut off). 

How do I actually save EVERY gimp-window on the correct monitor?

Print this item

  unable to convert from rgb to cmyk
Posted by: sambana - 06-25-2025, 07:53 PM - Forum: General questions - Replies (1)

"color profile is not for rgb color space"

Print this item

  How to fix halftones?
Posted by: NattoKatto - 06-25-2025, 05:01 PM - Forum: General questions - Replies (2)

I am new to gimp and is trying to make a halftone text that looks like the text here https://imgur.com/a/qOuWdo8. But mine appears like this and I don't know how to fix it or make it look like the one in the reference image https://imgur.com/a/ABNZLiA.

Print this item

  Help on doing text effect
Posted by: lunymarcus - 06-24-2025, 10:15 PM - Forum: General questions - Replies (3)

[Image: logo2.jpg]
[Image: logo.jpg]

Recreating a logo a friend of mine made many years ago.  Don't know how to get a hold of my friend anymore.
As you can see, I got almost perfect match of font, outline and shadow.  But I can't figure out how to do the LF background.
I'm a graphic noob, so I'm actually impressed with myself that I got this far on my own.
Any help or suggestions be appreciated.
TIA

Print this item

  Resynthesizer for Windows Gimp 3
Posted by: rich2005 - 06-23-2025, 08:57 AM - Forum: Extending the GIMP - Replies (4)

Credits to JamesH and this post https://gimpchat.com/viewtopic.php?f=33&t=21535&start=0

..always worth having a backup, forums can go offline just when you need them.

Attached two zips resynthesizer containing the most used files + extras.zip just in case you might need one.

For those new to plugins, this in Gimp 3.0

   

...and how does it work, most used these days is heal-selection in the Gimp Filters -> Enhance and an example. As with most graphic editing, it pays to practice.

   



Attached Files
.zip   resynthesizer.zip (Size: 130.45 KB / Downloads: 1816)
.zip   extras.zip (Size: 22.59 KB / Downloads: 1159)
Print this item

  Technique for removing overhead cables from images
Posted by: LateJunction - 06-22-2025, 08:10 PM - Forum: General questions - Replies (16)

To remove overhead cables in an image in Photoshop, I use the path and spot healing tools with following process, which is easy and accurate:
- create a new path from the paths panel
- draw a path over one of the cables with the pen tool
- with the new path layer selected open the spot healing brush, setting a suitable width, 0% hardness and set the ‘proximity match ‘ option on
- select the stroke path icon; a healing brush stroke appears on top of the path; PS analyses and then removes the stroke and heals the underlying image
- delete the path

Can a similar procedure be used in GIMP? If not what is the most effective way of editing out such cables in the image?

Print this item

  [Problem] ROMM RGB ICC-profile turns image grey when converting to PDF
Posted by: STL - 06-22-2025, 12:29 PM - Forum: Windows - Replies (6)

Hi there, 
I hope someone can help me with this as I admittedly do not have a lot of experience with ICC-profiles and color management. 

I am in the processing of preparing my pictures to be uploaded to a print on demand site.
The site requires that the pictures have a ISO 22028-2 ROMM RGB profile and are in PDF.

While converting the image in GIMP 3.0.1-1 to the ISO 22028-2 ROMM RGB profile goes well enough, when I export my image to PDF, the image becomes quite greyed out / looses saturation. 

I do not know whether this is a GIMP, export settings, or ICC issue, and if anyone can recommend a solution, workaround or use of another programme to succeed, I would appreciate it greatly. 


Thank you in advance  [Image: AD_4nXcGgnKkHYv2r7mZs2CwwNyDGMgV6-64zk7y...oiTDelkTig]

Print this item

  Automating complex export
Posted by: JohnHammersley - 06-22-2025, 09:29 AM - Forum: Scripting questions - Replies (2)

Hi all!

I'm building assets for an interactive comedy show using GIMP 3. I'm currently working on this ambulance:

[Image: ambulance.webp]
It's split into many layers and different combinations of them create the different assets for the show. E.g., here's the ambulance background asset:
[Image: ambulance-2.webp]
I'm looking to automate the export. Ideally, I'd write a Python script something like this (I completely made up the API but you get the idea):

img.hide_all_layers()
img.show_layer('foo')
img.show_layer('bar')
img.export('ambulance-bar.webp', region=img.get_layer('bar').region)

Is something like that possible? Has anyone got any pointers?

Thanks,


Pete.

Print this item

  darktable 5.2.0
Posted by: denzjos - 06-22-2025, 07:13 AM - Forum: Other graphics software - No Replies

https://tweakers.net/downloads/73060/dar...adliner.nl

Print this item