Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,630
» Latest member: Bob W
» Forum threads: 7,176
» Forum posts: 39,209

Full Statistics

Latest Threads
gradients semi transparen...
Forum: General questions
Last Post: Ulodesk
10 hours ago
» Replies: 3
» Views: 153
Multiple install paths in...
Forum: Windows
Last Post: LateJunction
Yesterday, 08:38 AM
» Replies: 2
» Views: 170
Information about GAP
Forum: Extending the GIMP
Last Post: ElMastro
Yesterday, 01:51 AM
» Replies: 4
» Views: 490
Copy color effect to othe...
Forum: General questions
Last Post: PBog
02-20-2025, 12:56 PM
» Replies: 6
» Views: 343
Some questions about brus...
Forum: General questions
Last Post: rich2005
02-20-2025, 09:05 AM
» Replies: 2
» Views: 177
flowery cliff
Forum: Gallery
Last Post: MJ Barmish
02-19-2025, 01:29 PM
» Replies: 2
» Views: 176
How can I run Flatpak ver...
Forum: Linux and other Unixen
Last Post: Ofnuts
02-18-2025, 11:27 PM
» Replies: 3
» Views: 201
Export all opened images ...
Forum: Extending the GIMP
Last Post: Krikor
02-18-2025, 09:18 PM
» Replies: 8
» Views: 5,073
Arrow Script
Forum: Extending the GIMP
Last Post: programmer_ceds
02-18-2025, 04:51 PM
» Replies: 122
» Views: 152,471
Turn photo negative to po...
Forum: Tutorials and tips
Last Post: programmer_ceds
02-18-2025, 11:11 AM
» Replies: 4
» Views: 12,179

 
Sad Color in gif got weird when combining multiple together
Posted by: remyk - 11-18-2024, 06:00 PM - Forum: General questions - Replies (3)

Hi folks! I was creating a gif of a product by taking separate gifs and stills of different product views and then combining them into one gif using GIMP (manipulating these as separate layers). But four of the gifs (taken with the program LICEcap) would have really messed up colors when I combined it with the others. I attached a .png of a still from one of those gifs.

For these four gifs, I first grabbed the gif using LICEcap, then I uploaded it to Canva to put the gif on a static background, and then I took that and loaded it into GIMP with the intention of combining each with other static images/gifs.

I was able to solve this by doubling up the "background" layer on the very first gif this was happening with; literally just making a copy of it. The other three I have not been able to resolve. I played around with making/removing the "background" layer of the gif as an alpha channel (though I don't fully understand this concept), but this did nothing. 

It's weird to me, because these gifs look totally normal on their own, and when I edit them on their own. It's only when I brought them into the final gif document to combine them that they got weird. 

I ended up using an online program (ezgif.com) to fix the issue, because I was on a time crunch. When I loaded the gifs that were problematic in GIMP onto ezgif, they did not display weirdly. However, going forward I want to use GIMP!

Any help and insights is greatly appreciated!



Attached Files Thumbnail(s)
   
Print this item

  arrow to the right, but not left
Posted by: PixLab - 11-18-2024, 04:22 AM - Forum: Gimp-Forum.net - Replies (10)

Hello my favorite Admins/moderators Smile

We can do arrow to the right by doing 2 angle brackets to the right > > = ➤ , but we cannot do it the other side << Big Grin
For reference I wanted to do it on this post ➤ https://www.gimp-forum.net/Thread-Digika...8#pid40998 but nope no can do Big Grin

Thanks for reading, and have a great day.

Print this item

  layers overlap in 2.10.38
Posted by: federico - 11-17-2024, 11:53 PM - Forum: General questions - Replies (1)

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.

Print this item

  Digikam: photo management open source
Posted by: denzjos - 11-17-2024, 07:58 AM - Forum: Other graphics software - Replies (6)

DigiKam 8.5.0 release, professional photo management and editor with the power of open source.
Features : https://www.digikam.org/about/features/

Print this item

  Gimp 3: I need my arrows back
Posted by: Todd - 11-16-2024, 10:03 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (3)

Hi All,

Fedora 41
gimp-3.0.0~RC1-2.fc41.x86_64

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

"arrow.scm" does not work either

How do I fix this?

Many thanks,
-T



Attached Files Thumbnail(s)
   
Print this item

  stylus doesn't draw lines
Posted by: mprairie - 11-15-2024, 06:25 PM - Forum: General questions - Replies (6)

Hello,
 
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!
 
Mike



Attached Files Thumbnail(s)
   
Print this item

  emergent chaos or entrails of Earth and Sky
Posted by: MJ Barmish - 11-15-2024, 06:03 PM - Forum: Gallery - No Replies

Now a catastrophic vision

   



https://mjbarmish.fr

Print this item

  autumnal sunset (particular)
Posted by: MJ Barmish - 11-15-2024, 06:00 PM - Forum: Gallery - No Replies

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

   




https://mjbarmish.fr

Print this item

  My Gimp 3.0 Plug-in (group_selected_layers)
Posted by: Newman - 11-15-2024, 04:46 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (11)

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 Smile


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"

class GroupSelectedLayers (Gimp.PlugIn):

  def __init__(self):
      Gimp.PlugIn.__init__(self)
      self.test_cfg = None
      self.log = None

  ## GimpPlugIn virtual methods ##
  def do_set_i18n(self, _name):
      # We don't support internationalization here...
      return False

  def do_query_procedures(self):
      return [ 'group-selected-layers' ]

  def do_create_procedure(self, name):

      if name == 'group-selected-layers':
          procedure = Gimp.ImageProcedure.new(self, name,
                                              Gimp.PDBProcType.PLUGIN,
                                              self.group_selected_layers, None)
          procedure.set_image_types("*")
          procedure.set_sensitivity_mask(Gimp.ProcedureSensitivityMask.ALWAYS)
          procedure.set_menu_label('group-selected-layers-label')
          procedure.add_menu_path('<Image>/Filters/Development/Python-Fu/')
          procedure.set_documentation('Run group-selected-layers',
                                      'Run group-selected-layers',
                                      name)

      else:
          return None

      procedure.set_attribution(AUTHORS, COPYRIGHT, YEARS)
      return procedure

  def group_selected_layers(self, procedure, run_mode, image,
                       n_drawables, config, run_data):

      # => 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)
          )

      return procedure.new_return_values(Gimp.PDBStatusType.SUCCESS, GLib.Error())


Gimp.main(GroupSelectedLayers.__gtype__, sys.argv)

Edit: a better version of the script is posted later on in this thread

Print this item

  Is layer Composite Space the wrong way round in GIMP?
Posted by: jez9999 - 11-14-2024, 05:02 PM - Forum: General questions - Replies (4)

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?

Print this item