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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,582
» Latest member: Lindabax
» Forum threads: 7,456
» Forum posts: 40,742

Full Statistics

Latest Threads
GIMP 3.04 opens with wind...
Forum: Windows
Last Post: SteveH
2 hours ago
» Replies: 3
» Views: 135
Bug: gimp-drawable-get-pi...
Forum: Scripting questions
Last Post: Ofnuts
3 hours ago
» Replies: 1
» Views: 63
Cannot Install BIMP to GI...
Forum: Extending the GIMP
Last Post: Ofnuts
3 hours ago
» Replies: 1
» Views: 43
Missing fonts when export...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: chblondel
5 hours ago
» Replies: 9
» Views: 490
Gimp 3.0.4 - Windows 10 -...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
8 hours ago
» Replies: 1
» Views: 61
Macroglossum stellatarum
Forum: Watercooler
Last Post: denzjos
Today, 09:47 AM
» Replies: 2
» Views: 118
Missing script-fu "refres...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Frenchie
Today, 08:38 AM
» Replies: 11
» Views: 376
processes in Whitelist
Forum: OSX
Last Post: rich2005
Yesterday, 09:45 AM
» Replies: 5
» Views: 205
Digikam: photo management...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 06:53 AM
» Replies: 7
» Views: 4,608
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: rich2005
07-01-2025, 12:12 PM
» Replies: 10
» Views: 3,133

 
  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

  How do i fix this i pressed R by accident
Posted by: Persuasiv - 06-21-2025, 09:14 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

https://ibb.co/bMh9nS9w

When i was editing i pressed r

Print this item

  I couldn't resist
Posted by: denzjos - 06-21-2025, 09:05 AM - Forum: Gallery - No Replies

   

   

Print this item

  How can I do a cookie cutter?
Posted by: Dolphran - 06-21-2025, 12:33 AM - Forum: General questions - Replies (3)

I have an arbitrary shape (template) defined as an image that is transparent (alpha) wherever the shape isn't. There can be multiple disconnected transparent areas. As a simple example, imaging a donut shape that is transparent where the donut hole is, and also transparent outside of the donut. I want to apply this shape to other images such that the other image will be modified to be fully transparent in the same areas that the template is transparent. Thus using this as a cookie cutter of sorts. Is there a simple way to do this with Gimp (3)? 
TIA!

Print this item

  [Resynthesizer3.0] Procedure execution of script-fu-heal-selection failed
Posted by: problème - 06-20-2025, 05:56 PM - Forum: Extending the GIMP - Replies (1)

Hello, 

I download Resynthesizer3.0, I put in C\Users\user\AppData\Roaming\GIMP\3.0\
- plug-ins: 

  • resynthesizer 
         - resynthesizer.exe
- scripts:
  • plugin-heal-selection.scm
  • plugin-heal-transparency.scm
  • plugin-resynth-controls.scm
When I used Heal Transparency i got this error: 
floor: argument 1 must be: number Plug-in 'Heal Transparency...' left image undo in inconsistent state, closing open undo groups

So, I move the scripts files in the plug-ins directory. And I put each file in a folder bearing their names

- plug-ins:
       - resynthesizer 
              - resynthesizer.exe
       - plugin-heal-selection
              - plugin-heal-selection.scm
[*]       - plugin-heal-transparency
[*]              - plugin-heal-transparency.scm 
[*]       - plugin-resynth-controls
[*]              - plugin-resynth-controls.scm


I get this new error: 
Error of execution « Heal Transparency... » : Error: Procedure execution of script-fu-heal-selection failed: Error: Procedure execution of plug-in-resynthesizer failed: The texture source is empty. Does any selection include non-transparent pixels?

Print this item

  How can I avoid the outlines of removed colors?
Posted by: Zydelum - 06-20-2025, 12:47 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

Hello,

With Gimp, I select one or more colors by color > Color tab > Color to Alpha.

Starting with this image:
   

I can eliminate the yellow and blue without the outlines getting in the way:
   

From another image:
   

I can remove the yellow and red, but the old outlines remain:
   

With Gimp, I can no longer reproduce the first technique and avoid the second technique.

Can someone explain why?




Thank you for your help.

Print this item

  How Russia Got The Atom Bomb As An Infomercial
Posted by: Tas_mania - 06-20-2025, 12:55 AM - Forum: Gallery - No Replies

Always wondered about this.

[Image: HowRussiaGotTheAtomBomb.webp]

Print this item

  Saving files and creating a "macro"
Posted by: tinkertool - 06-18-2025, 11:09 PM - Forum: General questions - Replies (4)

Hello, I have a couple newbie questions about saving files:

1. When I try to save a file (hoping to save as .jpg or .gif), those file formats don't seem to be available. Is there a way to get them?
2. I did find the "Export As" command,which does list .jpg and .gif file types (as well as many others). This will work, albeit a little slower, but to reduce disk space usage I am lowering the Quality setting to 50%. I see I can save this setting as a default, and then recall the Saved Setting each time I export (save). Is there a way to automatically select my saved setting as a default to avoid having to go through the "Load Save Settings" step each time?

I also have a question about how to save time when performing the same steps over lots of images.  Does GIMP have something like a "macro" capability where I can save a series of steps and have them all automatically applied with the click of a button? I looked into the "Templates" feature, but that doesn't seem quite right because it doesn't appear to offer all the full set of menu options. 


TIA

Print this item

  Add text under a photo
Posted by: reecey57 - 06-17-2025, 04:44 AM - Forum: General questions - Replies (4)

Is there a way to add text in a panel under a photo.
ie list the names of people in a family photo. Top Row, Bottom Row

Print this item