Gimp-Forum.net
8 scripts I created for GIMP version 2.10.83 - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: 8 scripts I created for GIMP version 2.10.83 (/Thread-8-scripts-I-created-for-GIMP-version-2-10-83)



8 scripts I created for GIMP version 2.10.83 - ReconstructingIdeas - 11-07-2024

The links to the code are to github 
1. Obtain layers attributes recursively
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.
2. Print Layer colors as RGB to error console
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.

3. Replace Alpha Channel of a Group of Layers
- Replaces all layers within groups matching the used search term, replacing their alpha channels with the specified html color.
[attachment=12558]
4. Replace Specific Layers by name with Image Path
- Replaces multiple layers with the selected image path while maintaining layer properties like position, size, and masks.
[attachment=12562]
5. Replace colors found in layers by name
- Replaces an html color across multiple layers simultaneously while preserving layer structure and alpha channels.
[attachment=12561]

6. Create multiple guides
- Creates multiple guides in an image. Guides are evenly separated. Can be applied vertically and horizontally.
[attachment=12559]
7. Create multiple layers
- Creates multiple layers at once in GIMP, with optional automatic numbering.
[attachment=12560]
8. Create multiple text layers
- Creates multiple text layers at once in GIMP, with consistent formatting and optional automatic numbering.
[attachment=12563]


Example of me showing the plugins:





# Bonus
9. Export folder of .xcf files to .png files
- Batch convert XCF files to PNG format without manually opening each file in GIMP


RE: 8 scripts I created for GIMP version 2.10.83 - rich2005 - 11-07-2024

Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?


RE: 8 scripts I created for GIMP version 2.10.83 - Ofnuts - 11-07-2024

(11-07-2024, 06:12 PM)rich2005 Wrote: Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?

Also makes the scripts rather short-lived if they depend on a specific point-release/micro-version.


RE: 8 scripts I created for GIMP version 2.10.83 - ReconstructingIdeas - 11-07-2024

(11-07-2024, 06:12 PM)rich2005 Wrote: Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?

Eh, if it ain't broke, don't fix it.

(11-07-2024, 06:40 PM)Ofnuts Wrote:
(11-07-2024, 06:12 PM)rich2005 Wrote: Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?

Also makes the scripts rather short-lived if they depend on a specific point-release/micro-version.

I'm under the assumption that it will work for later versions, but simply stating that it was made for the version I'm currently using, which uses Python 2.7. Wasn't sure what later version were using in terms of Python.


RE: 8 scripts I created for GIMP version 2.10.83 - Ofnuts - 11-08-2024

(11-07-2024, 06:58 PM)ReconstructingIdeas Wrote:
(11-07-2024, 06:12 PM)rich2005 Wrote: Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?

Eh, if it ain't broke, don't fix it.

(11-07-2024, 06:40 PM)Ofnuts Wrote:
(11-07-2024, 06:12 PM)rich2005 Wrote: Gimp 2.10.83 - really? I am guessing dyslexia rules ko ?

Also makes the scripts rather short-lived if they depend on a specific point-release/micro-version.

I'm under the assumption that it will work for later versions, but simply stating that it was made for the version I'm currently using, which uses Python 2.7. Wasn't sure what later version were using in terms of Python.

All 2.10.x versions use Python 2.7. Gimp 2.99/3.00 uses Python v3.


RE: 8 scripts I created for GIMP version 2.10.83 - ReconstructingIdeas - 11-14-2024

(11-08-2024, 01:26 AM)Ofnuts Wrote: All 2.10.x versions use Python 2.7. Gimp 2.99/3.00 uses Python v3.

Did not know that, thank you.