| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Gimp reverting document s...
Forum: General questions
Last Post: MrsP-from-C
Yesterday, 10:13 AM
» Replies: 4
» Views: 3,800
|
Monitoring a pixel's RGB ...
Forum: General questions
Last Post: BuddyEvoke
02-28-2026, 09:33 PM
» Replies: 3
» Views: 228
|
Monochrome png exports as...
Forum: General questions
Last Post: rich2005
02-27-2026, 09:51 PM
» Replies: 2
» Views: 203
|
re-coloured pixels hide c...
Forum: Extending the GIMP
Last Post: programmer_ceds
02-27-2026, 01:04 PM
» Replies: 3
» Views: 297
|
Wavelet-decompose doing m...
Forum: General questions
Last Post: JohnWilliams
02-26-2026, 07:46 AM
» Replies: 9
» Views: 5,343
|
Smudge tool not working
Forum: General questions
Last Post: sallyanne
02-26-2026, 12:51 AM
» Replies: 3
» Views: 305
|
Thank you for Gimp
Forum: Watercooler
Last Post: Sampollyt
02-25-2026, 12:38 PM
» Replies: 0
» Views: 153
|
RapidRAW
Forum: Other graphics software
Last Post: denzjos
02-25-2026, 07:40 AM
» Replies: 3
» Views: 1,074
|
Hiding Unwanted System Fo...
Forum: Extending the GIMP
Last Post: rich2005
02-24-2026, 10:05 AM
» Replies: 1
» Views: 265
|
Version Issue
Forum: General questions
Last Post: rich2005
02-23-2026, 09:40 PM
» Replies: 1
» Views: 313
|
|
|
| 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.
|
|
|
|