Has Gimp changed the way layers work in 2.10.38? If so, can you point me to instructions? I've looked for hours and haven't seen anything that describes the behavior of layers I'm seeing. When a New Layer is (apparently) integrated with an existing layer how do I separate them?
Also, when I right click on an image layer all I see is New View, Raise View and Delete View. What happened to the right click menu option?
I'm assuming operator error could play a part but I don't know what it could be.
Thanks for your attention.
Since upgrading to Fedora 41 from 39, Gimp upgraded to 3.0rc1, I lost my arrows.
I have "arrow_V3.scm" from http://programmer97.byethost10.com/Files/arrow.zip copies into "/usr/share/gimp/3.0/scripts". When I select
-->Tools --> Arrow --> Arrow --> Okay, I get the following error:
Execution error for 'Arrow': Error eval: unbound variable gimp-image-get-selected-vectors
I am a new user of Gimp (2.10.38), but I have used several drawing programs including Sketchbook Pro. I replaced a failing 10-year-old MS Surface Pro (Windows 10) that I use with the stylus it came with. The stylus on the Surface Pro works as expected with Gimp, as well as all other programs that use a stylus.
The new computer is a Lenovo Yoga 9i 2-in-1 (Windows 11) that came with a Lenovo Slim Pen stylus (compatible with WGP, MPP2.0, AES2.0, and AES1.0 protocols). The stylus works perfectly with all other programs (apps) that I have tried so far, including Sketchbook Pro. It is not working with Gimp 2.10.38.
I have searched, viewed or read dozens of suggestions for making a stylus work with Gimp in the forums, YouTube, and other internet findings and have tried many of them. What I have been able to do so far is to create dots at the beginning of each attempted stroke of a brush (or pencil or pen). The dots are the same size no matter how much pressure I use to make the stroke, but at one point the dot sized were proportional to the pressure. The screenshot shows examples of four attempted strokes of the brush, and below those marks are strokes made using the mouse.
Any suggestions about how to get the stylus to work will be appreciated. Thanks!
Today I present to you two works of almost opposite inspiration both in form and in subject; but the post-processing is also complex, even if one seems simpler. First an post-impressionist picture
Plug-in: group-selected-layers Description: nests all currently selected layers inside a new group layer.
Tested and working on version 2.99.19 - commit fe6e1d7
Any feedback welcome
Code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# SAMPLE PLUG-IN USED AS REFERENCE/TEMPLATE: test-file-plug-ins.py 2021-2024 Jacob Boerema
#
# Tested and working on version 2.99.19 - commit fe6e1d7
#
# Script path:
# ~/.config/GIMP/2.99/plug-ins/group_selected_layers/group_selected_layers.py
import sys
import gi
gi.require_version('Gimp', '3.0')
from gi.repository import Gimp
from gi.repository import GLib
VERSION = "0.2"
AUTHORS = "newinput"
COPYRIGHT = "newinput"
YEARS = "2023-2024"
# => create new group
new_group = Gimp.GroupLayer.new(image, "my-new-group")
# => record currently selected layers
#
# (is needed since inserting a new layer replaces the current selection with just the newly inserted layer)
#
selected_layers = image.get_selected_layers()
parents = []
for layer in selected_layers:
parent = layer.get_parent()
if parent not in parents:
parents.append(parent)
# if same parents
# if all selected layers are under the same parent layer, nest the new group layer inside of it
if len(parents) == 1:
new_group_parent = parents[0]
topmost_position = min([image.get_item_position(layer) for layer in selected_layers])
# if different parents
# if selected layers are nested under different parent layers, insert group layer in the main stack, unnested
elif len(parents) > 1:
new_group_parent = None
topmost_position = 0
# if no parents found (should not happen)
# use main stack as default here to try and not break anything. should not be able to reach this point ever though.
else:
new_group_parent = None
topmost_position = 0
print("ERROR: could not get any parents from selected layers")
# => insert new group into image
image.insert_layer(
new_group, # group to insert
new_group_parent, # parent nest group inside of. None = unnested
topmost_position # index/stack-postition within parent (0 = insert as topmost layer within parent)
)
for selected_layer in selected_layers:
image.reorder_item(
selected_layer, # layer to reorder
new_group, # parent to nest inside
-1 # index/stack-postition within parent (-1 = insert as bottommost layer within parent)
)
I've been looking into the GIMP Layers tab's "Composite Space" option, and I'm rather confused by it. Given a background of white pixels and a foreground of black pixels at 50% opacity, I'd expect the RGB linear colour space to give me sample merged pixels of 128,128,128 because that's about 50% of 255,255,255. However, with RGB (linear) selected I actually get pixels of 188,188,188 - significantly lighter.
When I select RGB (perceptual), though, I actually get the result I'd have expected from the linear model; pixels are darker at 128,128,128 - half way between white and black.
Is this a bug with GIMP's options here being the wrong way round, or am I misunderstanding something?
How do you change the default text in version 2.10.38 (revision 1)?
I would like my text to be bold without having to click the Bold button every time I create text.
I wouldn't need to do this but ever since Gimp updated on it's own to this version, my text has been so thin I can hardly read it. It looks like the same font but it looks different than the text that was created using the earlier version.
- Make two copies of your original image (three layers total)
- Color>Invert the top layer
- Filters>Blur>Selective Gaussian blur the top layer (radius around 5 px, max delta around 0.2)
- Add a layer group at the top, and move the top two layers in it
- Set the color-inverted layer to Vivid light mode
- Set the layer group to Overlay mode
If I do so in Gimp3.0 RC1 everything is OK
Next I change the original image with the function: color -> exposure (+ or - , both tested)
After applying the recipe the result is now unexpected. Sie screen1.jpg.
If I remove the non-destructive filter (exposure) from the top image (the inverted one) everything is OK.
See screen2.jpg.