Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,362
» Latest member: CfsZow
» Forum threads: 6,666
» Forum posts: 36,331
Full Statistics
|
|
|
Help! Python loop for the mentally challenged. |
Posted by: david - 09-11-2020, 02:56 PM - Forum: Scripting questions
- Replies (2)
|
|
I have channels, named 0 to 9.
To create layers 0 to 9, I can repeat the code, changing "0" to "1", "2", etc. and it works perfectly.
I would like to make a loop to carry out this process, but everything I have tried has given me errors and searching the internet hasn't provided any examples for me to follow.
An example of how to do this (ideally with a detailed explanation) would be appreciated and perhaps would help others.
david.
Code:
#create layer with 0 as mask
pdb.gimp_image_select_item(image,CHANNEL_OP_REPLACE,channel0)
layer_add = pdb.gimp_layer_new_from_drawable(layer,image)
pdb.gimp_image_insert_layer(image,layer_add,None,0)
pdb.gimp_item_set_name(layer_add,"0")
pdb.gimp_layer_create_mask(layer_add,ADD_MASK_SELECTION)
mask = pdb.gimp_layer_create_mask(layer_add,ADD_MASK_SELECTION)
pdb.gimp_layer_add_mask(layer_add,mask)
pdb.gimp_image_remove_channel(image,channel0)
|
|
|
Solid Colours Lost on Export |
Posted by: Ben03 - 09-11-2020, 09:01 AM - Forum: General questions
- Replies (4)
|
|
I apologise if this is addressed in another topic, but don't know the technical terms for what's going on here. It is probably a simple setting I am missing:
When I export an image, jpeg or png, any area of a solid colour is removed from the image. What am I doing wrong here?
Thanks
|
|
|
Any on-screen live effects widget for Linux? |
Posted by: ChameleonScales - 09-10-2020, 11:20 AM - Forum: Other graphics software
- Replies (2)
|
|
Looking for a way to bypass GIMP's lack of dynamic filters and color adjustments in some situations, I wonder if there exists any real-time widget software that performs image effects and adjustments on a given region of the screen.
This could be useful to quickly analyse an image or to preview the result of an adjustment without having to merge all the layers and apply the filter in GIMP.
To give you a better idea of what I'm looking for, there is this app, "Scopes", that displays the vectorscope of a given screen region. What I would like is something that lets you preview filters or effects such as curves or levels on that region (could be other effects too).
|
|
|
Plugin not using dark theme |
Posted by: xeonicus - 09-10-2020, 02:10 AM - Forum: General questions
- Replies (5)
|
|
I'm using Gimp 2.10.20 on Windows 7. I set Gimp to use the dark theme. Everything works great.
I installed a plugin called fanim timeline.
Now, the plug-in actually functions correctly. However... the timeline window uses the default theme, not the dark theme.
The screenshot on GitHub clearly shows the plugin using the dark theme. I don't know if it's a plugin problem, or my problem. My other plugins recognize the dark theme and use it.
|
|
|
File New problem |
Posted by: sparky 1987 - 09-10-2020, 01:35 AM - Forum: General questions
- Replies (2)
|
|
I have Gimp 2.10.20 rev 1
My camera on current setting takes a file 6000 X 4000 - 9Mb average size and loads into Gimp for editing no problem but if I then go to File new and try to make a new image that size it warns me I am making a image of 232 Mb and set in preference max 134.2 why should it make a image that large when my photos are only 9Mb ?
|
|
|
script to merge files into layers and set a layer mask |
Posted by: DanielDD - 09-09-2020, 01:18 PM - Forum: Scripting questions
- Replies (10)
|
|
Hallo,
I need a script for batch mode:
There are files t0.tif and t1.tif (single page tifs) in the current directory.
The script should open these files and put them into a single file as layers
(t0.tif as bottom and t1.tif as top layer).
Then, the script should set "grain merge" to the top layer and add a white
layer mask.
I am somewhat familiar with (scheme)lisp, but I have no knowledge on
script-fu.
Finally, the script should save the file in standard gimp format.
Daniel
|
|
|
|