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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,518
» Latest member: lori
» Forum threads: 7,420
» Forum posts: 40,570

Full Statistics

Latest Threads
Crop Layer To Selection
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
1 hour ago
» Replies: 1
» Views: 18
Layout for photographers
Forum: General questions
Last Post: rich2005
1 hour ago
» Replies: 1
» Views: 33
Missing icons in GIMP 2.1...
Forum: Linux and other Unixen
Last Post: Ofnuts
11 hours ago
» Replies: 3
» Views: 179
RawTherapee plugin
Forum: OSX
Last Post: AeFFe
Yesterday, 04:16 PM
» Replies: 7
» Views: 2,938
Bucket Fill Problems
Forum: General questions
Last Post: ggallant571
Yesterday, 01:05 PM
» Replies: 4
» Views: 351
GimpChat down
Forum: Watercooler
Last Post: sallyanne
Yesterday, 02:36 AM
» Replies: 45
» Views: 13,751
Explain Gimp 3.0 AppImage...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
06-11-2025, 07:28 AM
» Replies: 12
» Views: 3,091
ofn3-layer-tiles
Forum: Extending the GIMP
Last Post: Ofnuts
06-10-2025, 11:03 AM
» Replies: 10
» Views: 3,509
ofn3-layer-tile issues (w...
Forum: Extending the GIMP
Last Post: Ofnuts
06-10-2025, 09:54 AM
» Replies: 1
» Views: 233
How to remove the backgro...
Forum: General questions
Last Post: BernardBouree
06-09-2025, 03:44 PM
» Replies: 2
» Views: 388

 
  python plug-in drop shadow
Posted by: marekGP - 02-05-2025, 12:55 PM - Forum: Scripting questions - Replies (2)

Hello, I am trying to create plugin with drop shadow functionality.
The shadow layer is created, but it behaves as invisible - I can copy the content and put it in other layer, but everything in the shadow layer stays invisible - here is the code:

Code:
#!/usr/bin/env python

from gimpfu import *

def gp_shadow(image, drawable):

   offsetx = 5  
   offsety = 5  
   blurradius = 8
   opacity = 1.0  
   color = gimpcolor.RGB(255,0,0)
   allowresizing = FALSE
   
   pdb.script_fu_drop_shadow(image, drawable, offsetx, offsety, blurradius, color, opacity, allowresizing)
   

register(
   "python-fu-gp_shadow",
   "Drop multipe shadows for GP artwork titles",
   "Drop multipe shadows for GP artwork titles",
   "MK", "MK", "2025",
   "GP shadow",
   "", # type of image it works on (*, RGB, RGB*, RGBA, GRAY etc...)
   [
       # basic parameters are: (UI_ELEMENT, "variable", "label", Default)
       (PF_IMAGE, "image", "takes current image", None),
       (PF_DRAWABLE, "drawable", "Input layer", None)
       # PF_SLIDER, SPINNER have an extra tuple (min, max, step)
       # PF_RADIO has an extra tuples within a tuple:
       # eg. (("radio_label", "radio_value), ...) for as many radio buttons
       # PF_OPTION has an extra tuple containing options in drop-down list
       # eg. ("opt1", "opt2", ...) for as many options
       # see ui_examples_1.py and ui_examples_2.py for live examples
   ],
   [],
   gp_shadow, menu="<Image>/Filters/Light and Shadow")  # second item is menu location

main()

Can you find a problem?
(GIMP 2.10.36, Win10)

Print this item

  Gimp 3.0 AppImage and G'Mic
Posted by: CtrlAltDel - 02-05-2025, 04:08 AM - Forum: Extending the GIMP - Replies (12)

Hello everyone.

I hope I haven't overlooked a thread on this and am making a redundant post.

On discuss.pixls.us, there is a thread with David Tschumperle commenting that he had G'MIC ready for Windows users on Gimp 3.0 but had not got around to modifying it for Linux users of Gimp 3.0.

Discussion on Gimp 3.0 and G'MIC

This is my go to place for hard to find information about Gimp and its plugins and would like to ask if anyone here has information on how to use G'MIC with Gimp 3.0 RC2 AppImage(Ivan-HC) using Linux Mint 22.1.

And on a side note, to not have to create another thread, will plugins and scripts that work on Gimp 3.0 RC2 work on the regular Gimp 3.0 when it is eventually released or will they have to be reworked in some fashion?

Print this item

Photo Correcting perspective from stitched panorama
Posted by: christinanorwood - 02-05-2025, 12:01 AM - Forum: General questions - Replies (10)

[Image: imgp3485-panorama_small.jpg]
This is a stitched panorama (PTGui, 6 images). If this had been taken on film (e.g. 6x17) the facade would be rectangular. Is there any tool in GIMP that can 'rectangularize' such an image? The perspective tool doesn't really work because the falloff is curved.

Print this item

  Does GIMP work well on windows 11 with a 4K monitor
Posted by: Bob_H - 02-04-2025, 11:49 PM - Forum: General questions - Replies (3)

I was wondering if there were any issues using GIMP on Windows 11 with a 4K monitor? I'm planning on updating soon. Thanks for your feedback

Print this item

  Converting grayscale image to color
Posted by: bwestoz - 02-04-2025, 12:29 AM - Forum: General questions - Replies (7)

Win 10/GIMP 2.10.38

Converting grayscale image to color.

I am trying to work out a way to convert a grayscale image to color.

If I open a grayscale image and convert to RGB with Image>Mode RGB, the image does not behave like other RGB color images.

For example if I then choose Colors>Color Balance and move the sliders the image color does not change where as with other RGB images the image color changes if I do this.

I've tried simply creating a new (RGB) image and copying and pasting the grayscale image to the new image. If the new image has a white background this works but if I create a new image with a transparent background it doesn't. Why is this?

I notice that if I create an image with a white background the color channels seem as expected, ie Red Green and Blue but if I create an RGB image with a transparent background the color channels don't seem to have any color. Why is this?

Is there a way I can convert a grayscale image to RGB color so I can use the sliders in Image>Color Balance to change the color of an image but maintain a transparent background?

Thanks

Print this item

  Colors not correct and defaulting to brown
Posted by: flamesofshadow - 02-03-2025, 07:41 PM - Forum: General questions - Replies (6)

For some reason today Gimp started having some kind of bug which is affecting all of my images I try to edit, in which no matter what color I try to select and use, it defaults to 735b35 and I can't make it stop or change color. it seems to only be affecting the drawing tools such as pencil.

an example of what it's doing: I'm working on pixel art and I have black as the foreground and red as the background, the images are all in RGB mode and I've tested turning color management off, but when I draw the color is brown (735b35) instead of black (000000) and if I select a different color using cntrl, or the color dropper it still makes them all brown, the paint bucket tool seems to work as it will make the colors work correctly, I have also uninstalled and reinstalled and it's still happening so I am not sure what the issue is at this point.

I am at the most recent version of gimp 2.10.38 (Revision 1)

Print this item

  Unable to save all export defaults
Posted by: GillianS - 02-03-2025, 04:54 PM - Forum: General questions - No Replies

I have recently re-installed Windows 11 (for a 64bit machine) and consequently had to re-install GIMP, too. I currently have v2.10.38.

Previously, when I clicked [Save Defaults] it would save everything (see pic for settings) but when I re-open GIMP at a later date it is not saving the quality or the subsampling. Any idea why, please?

Screenshot

TIA

Print this item

  Tool Options have disappeared
Posted by: ajax - 02-03-2025, 01:30 PM - Forum: Windows - Replies (4)

This pertains to Version 2.10.38 (64bit) of GIMP on Windows.

GIMP is running in Single Window mode.  I think I mistakenly clicked the mouse on something unintended when using tools in the Window/Frame displayed on the left side of the screen.  As a result Tool Options are no longer displayed in that Window/Frame.  I spent a good amount of time reviewing the User Manual looking for a way to undo this unwanted change but without success.  I did find and try selecting the menu option "Windows>Dockable Dialogs>Tool Options" but this did not appear to cause any change.

At present I'd expect that this problem could be fixed by reinstalling GIMP but I'd rather not do that.  Therefore, I'd be grateful for some help figuring out how to undo this unwanted change which I think would mean restoring the method of using Tool Options to the default setup (i.e., normal out of the box behavior).

Print this item

  Rainbow text 300, Long shadow in script-fu scm
Posted by: vitforlinux - 02-03-2025, 01:09 PM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

[Image: rainbow-text-300-gimp-3.0-rc2git.jpg]

[Image: rainbow-tect-300-panel.jpg.jpg]

This scm script-fu only works on Gimp 3.0 rc2 + git after December 21, 2024, because a system has been introduced to call GEGL directly that is not present in 2.10.

So I couldn't resist turning into a script-fu an old tutorial of mine that used Long Shadow, which is not accessible to scm.



After installing the script it is located in File> Create> Text> Rainbow text 300

Print this item

  Anyone use GIMP with the Wacom one tablet?
Posted by: AlisonJones - 02-02-2025, 06:25 PM - Forum: General questions - Replies (4)

I was originally going to try using procreate on the iPad but my boyfriend said that Apple stops supporting updates after 5 years and my iPad will be reaching the 5yr mark in September so he said doing it this way would be better. 

I mainly draw cartoons. 

I've never used any kind of digital art program before. Not even Photoshop so I'm finding it to be a bit frustrated that my art is coming out looking like something a 2nd grader did.

I'm still learning how all the tools and settings work but wondering if anyone has any tips/ticks to make things a little easier.

Sorry if this is not allowed.

Print this item