I'm trying to modify a script with the two basic commands:
1.Select a free selection with a series of points
2.Fill that selection with the foreground at 75% opacity
To do command 1 I use the line: pdb.gimp_image_select_polygon(image,CHANNEL_OP_REPLACE,3,[width/2.0,height/2.0,x0,y0,x1,y1])
The array at the end is filled with variables I define elsewhere. I try to test this in the python console on a file I've called test.xcf to see how I can expect the syntax to react. The line looks like
But I get this error :Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: wrong parameter type
What Can I do? I assume I'm calling the image wrong but I'm not sure what to call it
--------------------------------------------------------
For command 2 I'm using: pdb.gimp_edit_bucket_fill(drawable,BUCKET_FILL_FG,LAYER_MODE_NORMAL_LEGACY,75,0,FALSE,0,0)
I figure I can run this line in the console or in code and it should have the same effect: as long as there's a selection on the page then it'll just fill with the foreground. But when I test the syntax I'm met with: NameError: name 'drawable' is not defined
So what do I call the selection then? I figure this should be simple but I'm just not sure what words I should use.
Additionally: The modifications I'm making to my script now call numpy in. Will this be an issue if I already have numpy installed on my machine, or do I have to specifically install it onto gimp?
Adding an animation feature (each brush stroke on its own layer). Ending up being a major rewrite. Still have to update the doc before releasing in the wild.
For the above:
Find a Brush with foot steps (brush hose, alternating each foot)
Create a circular path
Apply the script to generate 30 strokes on a transparent background
Duplicate the image, shift the layers by one (top layer to bottom of stack)
Do that two more times, to have 3 images that are 1/2/3 steps behind
Use ofn-interleave-layers to combine them with 75%, 50% and 25% opacity to the first one
I myself am not sure if all of your scripts I have are up to date or not. I would have to check almost one by one as to whether they are up-to-date or not, but for convenience and not having problems I don't do it.
It seems to me that here on the forum there is no topic that keeps us informed of these creations / updates.
There may be other ways, as there is a 'Get Updates' link on the downloads page. But I suppose that requires subscribing via email to some kind of service.
What do you think about posting a topic on this forum with current records about your creations / updates?
Perhaps also useful to provide other script writers with a space where they can inform the updating of their scripts. All in a single post, facilitating consultation and monitoring.
If it weren't for the user's mistake in downloading the wrong script, it would take me a while to become aware of this new script - ofn-select-layer-box.
I have a drawing with lots of white paper showing through, and I want to make the white black.
The magic wand doesn't work, because the whites are undetectable and all over.
Is there a way to scan for the whitest hues of color and remove/replace it?
Hi. Does anyone know where to download CMYK ICC Color profiles? There are two 2-year-old tutorials by Michael Davies on YouTube that describe how to download the Adobe ICC color profiles. Unfortunately, that link https://supportdownloads.adobe.com/produ...rm=Windows does not work anymore and without the color profiles, one cannot do the soft proofing mentioned in the tutorial. I am hesitant in providing the link to the tutorials as I am not sure if it is allowed here.
I am new to gimp so i am still getting familiar with the interface.
In photoshop, an animated gif worked like this, there is a timeline and the layers on the side:
If i wanted to add a prevalent layer that existed in ALL the animation, all i had to do was go and add a layer (in this case, for demonstration purposes a black rectangle) to the THE END, after the last layer of the animation. When animated that layer will apply to all the animation:
How can i do this with GIMP?
If i import an animated gif, add a layer at the end and then export to save the layer will only appear at the end of the gif animation, not in all the animation.
So, i was messing with different gradients recently, and im wondering if that changed it, tho it might be something else.The attached picture is what happens when I lower the brush hardness to 30 and click. See how theres that part that i labeled in red where the hardness suddenly drops off? It didnt used to do that, and im wondering how to fix it so that its a more consistent fadeaway.
I am new to this forum and have a specific question. I tried to find the answer myself by experimenting but now came to the conclusion i need external help.
I am relatively new to GIMP (watched and worked through one or two dozen of tutorials, experimenting, some of this , some of that) and really enjoy it. What i would really like to do is trying to create shirt designs, namely pretty specific ones. I try to explain:
In the music genre where i feel home at most (Heavy metal and related) thre is a huge scene of shirt bootleggers, that make very old school looking designs. These usually have quite a reduced colour spectrum (4 to 8 colours maybe). To make clear what i am talking about here is an example:
My question is : How would i do this? From a guy i know who is a passionate avid photoshop user and professional graphic designer, i know how he does it with photoshop. He basically first uses threshold on the picture an then somehow colours a layer with a specific colour , then duplicates the picture , sets the threshold higher / lower, colours the next and so on, until those all together make a design like those above.
So i tried this with GIMP but i cannot seem to get past the part of colouring the first layer. i used the threshold feature, coloured all the black parts , but from then on it doesn't work. As far as i know Photoshop has somewhat of a function that you just put on a coloured layer over the picture, but i cannot find anything in GIMP. Maybe with a layer mask?
So : if anyone has any idea how i could achieve this it would be highly appreciated !
Thanks a lot in advance and please excuse if my English is a bit crooked, i am from Germany and it's not my mother tongue
Cheers
Hendrik
Edit: I played around a bit again and made a screenshot so it might be even more clear what i want to achieve. It gets a tiny bit into the direction i want but the problem is still the other colors aren't shining through
If you ever got confused about the JPEG sampling factors notations as shows in Gimp's JPEG export dialog, but also ImageMagick's identify, mediainfo, here is a page that explains it all:
I create a T-Shirt mockup for my online store. In a guide I saw that you can use the "darken only" mode for your logo in order to make it look more realistic when the logo is placed on a part of the t-shirt that has some folds. However, when I use "darken only" my logo turns invisible. I have the impression it somehow makes the logo itself transparent so I guess I have a wrong setting somehow... Anyone has a clue how I could fix that? Thanks in advance