Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Alpha channel use in gimp (paint on it) |
Posted by: majorfatal - 02-08-2021, 10:47 AM - Forum: General questions
- Replies (4)
|
 |
Hello,
I'm beginner to the gimp and come from photoshop.
I'll would like to know how change the color of the alpha channel.
I"ll would like to paste a color into or paint on it.
How I'll could do it?
In photoshop it was simple I'll make an image in grey >ctrl C >ctrl v in alpha channel.
Ill would like to do the same but it seems impossible to edit the alpha!
I'll work mainly in video game and need to use Alpha channel.
In fact I'll don't care there is an alpha on alpha channel I'll just want to copy a grey image on it.
Thanks by advance for your help.
|
|
|
How to "bald" a guy |
Posted by: kenny1999 - 02-08-2021, 09:12 AM - Forum: General questions
- Replies (6)
|
 |
I am making fun with a best friend of mine
I have his picture. He isn't bald in the picture, but I want to make him bald, however, what is the general
step I need to do to make the pictures look, at least, not too bad?
First, I know I should select to remove his hair, but how to make the deleted area look similar to the background?
Second, how can I make his forehead a bit shiny? In the picture there isn't any shiny
|
|
|
Multithread python plug-in? |
Posted by: ChameleonScales - 02-07-2021, 06:46 PM - Forum: Scripting questions
- Replies (4)
|
 |
My plugin performs a bunch of operations on dozens of large images which takes several minutes and only uses a single thread.
I'm wondering if there's a way to write code in the plug-in to allow for multithreading, e.g. by telling Gimp to open more instances of itself or any other way.
Is that possible?
|
|
|
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.
|
|
|
|