| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Extracting a "Dotted Netw...
Forum: General questions
Last Post: saint_m
53 minutes ago
» Replies: 1
» Views: 59
|
Batcher and simple animat...
Forum: Tutorials and tips
Last Post: MrsP-from-C
11 hours ago
» Replies: 2
» Views: 161
|
Background - Foreground -...
Forum: General questions
Last Post: saint_m
04-16-2026, 04:28 PM
» Replies: 12
» Views: 1,493
|
2.10.38---Dock sizes and ...
Forum: Windows
Last Post: IndiePubber
04-15-2026, 06:21 PM
» Replies: 2
» Views: 369
|
Scanner menu missing
Forum: General questions
Last Post: CmykStudent_
04-15-2026, 11:26 AM
» Replies: 9
» Views: 775
|
Smaller font size main me...
Forum: General questions
Last Post: mmhmjanssen
04-13-2026, 09:51 AM
» Replies: 0
» Views: 223
|
GIMP 3.0 RC: Text Tool fo...
Forum: General questions
Last Post: sallyanne
04-12-2026, 07:16 AM
» Replies: 11
» Views: 1,204
|
Working with layers - a h...
Forum: General questions
Last Post: sallyanne
04-11-2026, 01:26 PM
» Replies: 3
» Views: 420
|
apply a certain gradient ...
Forum: General questions
Last Post: saint_m
04-11-2026, 01:14 PM
» Replies: 4
» Views: 455
|
How do I hide/unhide a *g...
Forum: General questions
Last Post: rich2005
04-11-2026, 12:59 PM
» Replies: 1
» Views: 276
|
|
|
| Suddenly drop shadows are too light |
|
Posted by: Klawdek - 07-28-2022, 12:19 AM - Forum: General questions
- Replies (4)
|
 |
Without changing versions of GIMP drop shadows went form being the color selected to being very light versions of the color selected. I am using layer/layer effects/drop shadow I have opacity at 100% all the settings are ones I have used many times and it worked fine. Now all of a sudden the color used for the drop shadow is not the one selected but a very light version of it. I have included a screenshot. I am using GIMP 2.10.12 I know everyone is going to say to upgrade to latest version. However this happened with no changes to GIMP and the last time I upgraded I lost some features.
|
|
|
| Rotate problem |
|
Posted by: Nash - 07-27-2022, 09:31 AM - Forum: General questions
- Replies (4)
|
 |
I'm new to gimp. I am having a problem with my rotate tool. It will not rotate. I know I am on the right layer. Searched google etc. Been looking for answers for a couple of days. The curser with the rotate symbol as a little circle with a line going through it witch, I believe is a lockout. Please take it easy on thee gimp terms. Can you help?
Thanks
Nash
|
|
|
| Removing Alpha Channel? |
|
Posted by: david - 07-26-2022, 02:27 PM - Forum: Scripting questions
- Replies (12)
|
 |
I have been trying to write a script to automate colour cast removal.
If an image has transparency it "dilutes" the colour cast I am trying to remove.
When I run the following code
Code:
layerClean = pdb.gimp_layer_new_from_drawable(layer, image) # layer to be cleaned of alpha channel
pdb.gimp_image_insert_layer(image, layerClean, None, 0) # insert layer
pdb.gimp_image_set_component_visible(image, CHANNEL_ALPHA, FALSE) # make alpha channel non-visible
pdb.gimp_layer_flatten(layer) # remove alpha channel
pdb.gimp_image_remove_layer(image, layerClean)
I can look in the channels palette and the alpha channel has gone. In the layers palette I can right-click on the layer and it gives me the option to add an alpha channel. However, if I carry out any action, such as adding a layer, the alpha channel re-appears in the channel palette.
I have tried running the code and then doing a "Save as". On loading the saved file, the alpha channel is again in the layers palette.
I created an xcf file where the alpha channel was filled with 50% grey (7f7f7f Hex) in order to test.
I put this into general queries as the same occurs when the actions are carried out manually.
Operating system: Ubuntu 20.04
GIMP: 2.10.32
|
|
|
| GIMP 2.10.32 Python-Fu |
|
Posted by: alecpepe - 07-25-2022, 07:06 PM - Forum: Scripting questions
- Replies (1)
|
 |
I have successfully written a script, which when ran in the Python-Fu console does what I want. I want to make a keyboard shortcut, so I can run this quickly when necessary, rather than pasting it into the console every time. How should I do this? I've tried writing the code in VS code and saving it in the GIMP scripts folder as both a .py and .scm file. The .scm file raises 'unbound variable: import' when I hit 'refresh scripts' under Script-Fu. I cannot find where to run the script as a .py, but it seems to refresh fine. I also do not know how I would bind a keyboard shortcut to a script.
Here's the code, though I doubt this is the issue as it works fine in the console:
import gimpfu
current_image = gimp.image_list()[0]
layer=pdb.gimp_layer_new(current_image, 1, 1, gimpfu.RGB_IMAGE, "white_layer", 100, gimpfu.NORMAL_MODE)
pdb.gimp_image_add_layer(current_image, layer, 0)
pdb.gimp_layer_resize_to_image_size(layer)
pdb.gimp_item_set_visible(layer, 0)
|
|
|
| exporting gimp head |
|
Posted by: dumbass - 07-24-2022, 05:02 PM - Forum: General questions
- Replies (7)
|
 |
GIMP 2.10.32 was working perfectly. All of a sudden I can't export a head without a black background. I removed GIMP and re-installed. No difference. I'm stumped.
|
|
|
|