| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Arrow Script
Forum: Extending the GIMP
Last Post: bboma
3 hours ago
» Replies: 134
» Views: 271,093
|
Linux LMDE changing defau...
Forum: General questions
Last Post: Green Pig
7 hours ago
» Replies: 2
» Views: 84
|
How to fine-tune the ligh...
Forum: General questions
Last Post: IndiePubber
11 hours ago
» Replies: 8
» Views: 257
|
Remove error created Temp...
Forum: General questions
Last Post: JB10
06-25-2026, 08:27 PM
» Replies: 5
» Views: 285
|
apply a certain gradient ...
Forum: General questions
Last Post: saint_m
06-25-2026, 05:22 PM
» Replies: 8
» Views: 1,427
|
Gimp 3.2.4 NO Color Theme...
Forum: General questions
Last Post: corawilliamlee
06-25-2026, 08:49 AM
» Replies: 1
» Views: 694
|
Most accurate way to colo...
Forum: General questions
Last Post: IndiePubber
06-25-2026, 06:58 AM
» Replies: 8
» Views: 734
|
Theming 3.2 ( in my case ...
Forum: Installation and usage
Last Post: bluedxca93
06-24-2026, 01:24 PM
» Replies: 6
» Views: 407
|
How would I be able to be...
Forum: General questions
Last Post: sallyanne
06-24-2026, 12:29 PM
» Replies: 5
» Views: 341
|
Color picker doesn't refl...
Forum: General questions
Last Post: CmykStudent_
06-23-2026, 07:20 PM
» Replies: 6
» Views: 1,611
|
|
|
| List layers without loading image? |
|
Posted by: ChameleonScales - 02-06-2021, 03:48 PM - Forum: Scripting questions
- Replies (20)
|
 |
Using python-fu, is there a way to list the layer names of an xcf file without loading the whole file?
Right now I list them like this:
Code:
image = pdb.gimp_file_load(some_filepath,same_filepath)
for l in image.layers :
print(l.name)
gimp.delete(image)
The problem is that I use it on many very heavy xcfs and the listing can take a few minutes, which I feel could be improved.
I can find the layer names in the gibberish of the xcf when I open it with a text editor (Atom) but don't see a recurring pattern around so not sure this can be exploited by a direct text search in the file.
Any chance of there being an efficient solution?
|
|
|
| Interleaving layers of two GIFs of different sizes |
|
Posted by: Muzozavr - 02-06-2021, 02:32 AM - Forum: General questions
- No Replies
|
 |
Hello! Newcomer here. I have two GIFs (let's say A.gif and B.gif) both with an equal amount of frames, but their size is different. They need to be interleaved: A-Layer1 -> B-Layer1 -> A-Layer2 -> B-Layer2 and so on.
How do I achieve this? There seems to be no automatic option from what I can tell, but there has to be. Is there something I'm missing? Or do I need a plugin for this?
I'd do it manually, except working with 1152*2=2304 layers... oof. It's actually making my computer lag at points, making doing it manually feel even more awful than it otherwise would've been.
EDIT: OK, I may be stupid, I did see ofn-interleave-layers as a google result, but misread what it does, though it could only interleave copies of one layer between the image layers. And its documentation ALSO lists how to change image size with canvas commands without scaling.
I'm leaving this thread in case someone else needs it, I've seen enough "nevermind, figured it out" online to want to leave a tip. I haven't tested the script YET, but it should work.
|
|
|
| How use a png with a transparent background as a mask |
|
Posted by: daveq - 02-05-2021, 06:31 PM - Forum: General questions
- Replies (7)
|
 |
I am trying to add an arrow pointer onto a picture (and plan to do a lot). I have added a png of the arrow, which I know has a transparent background, to a second layer. I have tried to set it up as a mask, but dont understand the finer details - it just stays as a complete rectangle. NB: Have successfully re-sized it & am trying to rotate it. I am new to GIMP, but IT competent.
|
|
|
| Outline Disappears ... |
|
Posted by: scatterbrainz - 02-05-2021, 10:22 AM - Forum: General questions
- Replies (1)
|
 |
Greetings Folks,
I just re-installed GIMP 2.10.22 (rev 3.0) on brand new Mac M1 Mini. I've noticed that when I use the rectangle or ellipse tool, - I draw the shape. Then I attempt to use the "bucket fill" to colour the shape in, but the outline of the shape that was once visible is now INVISIBLE. So you can actually see where the shape is on the canvas, and your guessing as to where it went.
I'm not sure if this is a setting somewhere, or a bug ? or ?
Anyone have any ideas ? - I'd greatly prefer not going back to illustrator.
Best Wishes,
-scatterbrainz
|
|
|
| Scripts do not appear in menu |
|
Posted by: MQ95 - 02-04-2021, 02:09 PM - Forum: General questions
- Replies (9)
|
 |
Hi, i'm using Gimp 2.10 on ubuntu-based linux.
I'm trying to follow this guide on how to get started with GIMP scripting, but when I save the .py file in the scripts folder or the plug-ins folders nothing happens.
When I restart GIMP I don't see the option to run that script in the menu.
I've also tried downloading other scripts from the internet, put them in the scripts folder and plug-ins folder, and same thing, they don't appear in the menu.
Am I doing something wrong?
This is the script's code, which I copied from the tutorial:
Code:
#!/usr/bin/python
from gimpfu import *
def first_plugin(timg, tdrawable):
print "Hello, world!"
register(
"hello_world",
"Presents a Hello, World! message",
"Presents a Hello, World! message",
"Brad Jones",
"Brad Jones",
"2017",
"<Image>/Image/Hello, World!",
"RGB*, GRAY*",
[],
[],
first_plugin)
main()
It's from 2017, so maybe it's not compatible anymore?
Thanks for the help guys.
|
|
|
| Foreground Select tool fails in Draw Mode |
|
Posted by: Joydeck - 02-04-2021, 06:08 AM - Forum: General questions
- Replies (2)
|
 |
On a layer in my Layer Group, the Foreground Select tool rough-selects, Draws, but on releasing the mouse button nothing remains drawn on the layer. (Foreground Select does work if I select the Layer Group rather than the layer.)
If I drag my Layer Group to a new image, Foreground Select works fine.
Since I had been experimenting with filters on the layer, maybe GIMP 2.10.22 lost its way somewhere. Is this likely a bug or am I missing something?
|
|
|
|