Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,641
» Latest member: GaryR
» Forum threads: 7,181
» Forum posts: 39,235
Full Statistics
|
|
|
Performing a Clone stamp on multiple layers at the same time |
Posted by: Rathe - 04-17-2021, 11:21 AM - Forum: General questions
- Replies (5)
|
 |
I am trying to work out the best way to use clone stamp to make changes to multiple layers of an image at the same time.
I have a project that has 5 layers each layer is a different part of a PBR texture, top layer is an albedo map, then I have a normal map, height map etc...
I am trying to make changes to each layer at the same time using the clone stamp, the goal here is to perform standard clone stamp operations but have the exact same clone stamp changes applied to all the layers at the same time.
In addition it would be good to be able to preview the image that I am editing as a tiled image.
what is the quickest most flexible way to do this kind of work?
Thanks
|
|
|
Undo / adjust earlier changes |
Posted by: Vera23 - 04-17-2021, 01:46 AM - Forum: General questions
- Replies (3)
|
 |
Hi all,
Recently I started editing and I'm trying to learn GIMP. Now I have a question I'm hoping you could help me with.
When I change something in e.g. colour balance and press ok, the next time I open it, everything is back to zero, while the picture is clearly edited. So I can't reset or adjust stuff, except for using ctrl Z, or using the undo history. If I use the undo history however, all the changes I made past the colour balance are also undone. Is there any way to fix this?
Thank you in advance!
|
|
|
Convert xcf to psd (with paths) |
Posted by: Iagmon - 04-16-2021, 09:43 PM - Forum: Other graphics software
- Replies (5)
|
 |
Hello there.
First post here, so I'm sorry if I've posted in the wrong section or something.
Anyway, I know I can export a .xcf file as a .psd file and open it in Photoshop. The problem is: when I open it, the layers are all there but the paths are gone.
Opening the recently exported .psd file in GIMP will yield the same results: layers but no paths, so I think the path info is deleted from the file.
Question: Is there a way to convert xcf to .psd without losing paths?
Thanks for the attention.
|
|
|
Select and bucket fill with python fu |
Posted by: bozjaws - 04-15-2021, 07:31 PM - Forum: Scripting questions
- Replies (1)
|
 |
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
pdb.gimp_image_select_polygon('test.xcf',CHANNEL_OP_REPLACE,3,[640,480,700,600,500,600])
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?
|
|
|
ofn-brush-strokes-on-path |
Posted by: Ofnuts - 04-13-2021, 09:02 PM - Forum: Extending the GIMP
- Replies (34)
|
 |
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
- Export as (slow) animation
|
|
|
|