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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,789
» Latest member: Ttrevor
» Forum threads: 7,598
» Forum posts: 41,408

Full Statistics

Latest Threads
files missing after insta...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
Yesterday, 03:58 PM
» Replies: 4
» Views: 384
Simplifying a path
Forum: Extending the GIMP
Last Post: Infinimitsu
Yesterday, 01:34 PM
» Replies: 39
» Views: 35,149
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: HavingTooMuchFun
Yesterday, 08:24 AM
» Replies: 2
» Views: 537
.pcd files issue?
Forum: OSX
Last Post: rich2005
Yesterday, 07:49 AM
» Replies: 1
» Views: 221
How do I uninstall GIMP 3...
Forum: Linux and other Unixen
Last Post: Ofnuts
09-15-2025, 07:02 AM
» Replies: 1
» Views: 367
AI Gimp Plugins
Forum: Watercooler
Last Post: merlilderman
09-14-2025, 04:16 PM
» Replies: 21
» Views: 68,997
How to make a watermark o...
Forum: General questions
Last Post: kyolim
09-13-2025, 10:05 PM
» Replies: 5
» Views: 14,504
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
09-13-2025, 06:06 PM
» Replies: 1
» Views: 749
reliable Gimp 2.10.38 dow...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: denzjos
09-13-2025, 05:20 PM
» Replies: 2
» Views: 655
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
09-13-2025, 07:53 AM
» Replies: 15
» Views: 12,344

 
  Shadow question
Posted by: sl60 - 02-13-2023, 02:48 AM - Forum: General questions - Replies (4)

If I have a tree on a lawn, for example, and I add a cast shadow on the grass, how can I accurately depict the shadow if it hits a vertical wall and climbs upward?

[Image: vertical-garden-with-walls-concrete-floo...3-7795.jpg]

Print this item

Question Concatenate a layer name with fixed text and variables
Posted by: tkemmere - 02-11-2023, 05:24 PM - Forum: Scripting questions - Replies (2)

Hi all,

I'm learning Python as I go along in the Gimp. Can somebody get me going on this one please?

I have a few variables loaded with figures. (blur is for example 10 and contrast 0.15). I would like to set a layer name, so that later I can save the layer with a filename based on the layer name.

But how do I combine fixed text and variables? It must be something like this, but how exactly?

Code:
pdb.gimp_item_set_name(new_layer, "Blur "+{blur}+"contrast "+{contrast})

I would like the layer name to be "Blur 10 contrast 0.15".

I also tried with "&" but that didn't work either. Nor did it without the "{}".

Am I close? Thanks!  Smile

Print this item

  Programmatic XCF text layer editing
Posted by: Anthony Buff - 02-11-2023, 03:40 PM - Forum: Scripting questions - Replies (9)

[Image: Perfect-Fit.png]
The above was the answer to a question I found in reddit thanks to a similar quest of mine. I'm set out to do just that, and my lackings on Python programming are very nicely being covered by ChatGPT.

I have text layers in an xcf file with descriptive names and at this point, all I want to do is replace the text in them programmatically from a python script..

Chat GPT has already come up with some python code but it's throwing up a crucial error right at the beginning:

Code:
import gimpfu

line 1, in <module> import gimpfu ModuleNotFoundError: No module named 'gimpfu'

Then Chat GPT suggested this:
Code:
import sys
sys.path.append("/usr/lib/gimp/2.0/python")
import gimpfu

Same error pretty much:
line 3, in <module> import gimpfu ModuleNotFoundError: No module named 'gimpfu'

Chat GPT suggested to find the location for gimpfu.py

Code:
find / -name gimpfu.py 2>/dev/null

That rendered nothing in my terminal. I'm on bullseye, MX Linux, and GIMP is installed from the repository. I can reinstall should that be the suggestion. I'm on GIMP 2.10.28


Any ideas as to how to go about this? Are there any sample files that could show the editing of an existing text laxer? But then, How can I get python to import the library that talks to the GIMPs API?

Print this item

  [split] GIMP crashes randomly
Posted by: rickk - 02-11-2023, 07:33 AM - Forum: General questions - Replies (21)

(02-06-2023, 06:15 PM)cjsmall Wrote: My question is: are others experiencing this as well?  

What I have noticed while working with canvas size 16,000 x 11,000...some operations take an especially long time to conclude, making Gimp appear "locked", although it'd actually chuffing away.

For example, a bucket fill operation, even within a relatively small target area of the larger picture, for instance only 150x 200 pixels, can take 45 seconds to actually paint the target.  My guess is that's because Gimp has to calculate it''s task relative to pixel 1;1 of the graphic, so there is a lot of heavy lifting going on under the covers, despite the appearance of a simple task. Paths on really large canvasses take  a long time to process, as well.

In fact, I've been getting a surprising amount of outright crashes when stroking a path on large canvases, more so than I've ever experienced with Gimp before,  which is heart breaking when I've got considerable work in progress that just goes "poof" along with it.
What I've done is to modify my workfow, performing all the other "non-path" tasks as a group, then saving that  as an interim work, before embarking on any extensive path work.... saving paths for last....which the strategy has eliminated a lot of frustration.


I've been knitting "tiles" together of an old map that  I found in a multi page format PDF online source.  Importing into Gimp at 600 PPI,  and then touching up the join areas.   And it was going so well I decided to expand my work, ultimately enlarging the canvas to 16,000 x 14,000....whereafter Gimp  got REALLY crash prone...crashed like half a dozen times just this afternoon. But having learned the hard way what to expect, I just saved a copy before plotting any path, just to be on the safe side.

Probably need to buy a new laptop, my current machine is maxxed at 8 GB ram..

Print this item

  Cropping multiple images and exporting all layers
Posted by: PHDIKOULAS - 02-10-2023, 10:28 AM - Forum: General questions - Replies (3)

Novice gimp user

I had a previous version of gimp along with some plugin i assume

I could open 10 images as layers, crop and then export all layers. I cannot seem to remember what plugin that was if it even was a plugin. The only thing i remember is that the output folder was always in system 32

Any clue what it might have been?

Print this item

  DPI vs PPI
Posted by: Wallahoopi - 02-09-2023, 08:40 PM - Forum: General questions - Replies (2)

Have a printer requesting 8.5"x11", 300 dpi, 1/8" bleed.

Have a GIMP doc at 2625x3375 and 300 ppi. Printer says it's coming up as wrong size and 72 dpi. 

Am I missing something or are ppi and dpi not comparable?

Print this item

  Icon theme
Posted by: meetdilip - 02-09-2023, 06:24 AM - Forum: Extending the GIMP - Replies (6)

Hi, I am working on an icon theme for Ubuntu. It is based on Yaru ( the default icon theme ). The difficult part is that there are many sizes of PNGs that Yaru ask for each image.

I was wondering if there can be some script or so that can resize an image into all Yaru-compatible icon sizes?  Something like we have for iconify.

   

An image needs to be in 256, 48, 3, 24, 22, 16 and 8 sizes for the icon theme to work properly.

For now, I am using a 256x256 for all. It causes burr ing at edges, in some cases, info windows show a big image than a small icon due to the parent image size.

Any help would be great. Thanks.

Print this item

  Gradient from border
Posted by: Relic - 02-09-2023, 03:23 AM - Forum: General questions - Replies (6)

Wondering if someone could give me a little help.  I used an stl i modeled to create a grayscale heightmap for CNC carving but the outer edges are too steep (see red circle).


I figured I could fix this by applying a gradient around the boundary selection of the image in gIMP to soften the edge between my greyscale image and the black background.

After some google searching I saw there was a tutorial for gradient border select, and the image looks to be similar to the affect I'm trying to achieve, but it was on gimplearn, which seems to no longer exist.

I've included pictures of the greyscale image, what the result is in my carving software, and a picture of the effect i'm trying to achieve.

Any and all help appreciated!

Edit: seems most image hosting service are blocked on my work's network with the exception of tiny pic, which doesn't seem to load into the post correctly, I have included the links below.

https://tinypic.host/i/lJd2K
https://tinypic.host/i/lJ4v8
https://tinypic.host/i/lJNTB

Print this item

Question Trying to precisely resize
Posted by: deathwinger - 02-08-2023, 08:44 PM - Forum: General questions - Replies (2)

Hey everyone, I'm new to GIMP and I usually just google my questions and get my answers pretty quickly, however, this issue I haven't found any answers for and its one that affects the functionality of my work process. 

I usually resize covers for paperbacks and hardcovers for Amazon and they have precise measurements for what they want as the covers. 

Usually on photoshop, I could get the measurement down to the third decimal place without any issues, this is on my PC experience. However, I'm now on a Mac and I'm using GIMP and when I try to do the same for the resize, once I set it and leave the numbers, it rounds up, so 13.025 inches becomes 13.030 inches and 9.917 inches becomes 9.920 inches. 

This won't do as Amazon would come back with an error that the size is still unmatched. 

How do I ensure that it stays at the exact numbers I selected?

Any assistance would be most appreciated. Enjoying GIMP as an alternative to Photoshop at the moment and want to continue to do so.

Print this item

  Gradient (Color to Transparent) Dithering Effect
Posted by: Caped64 - 02-08-2023, 05:34 PM - Forum: General questions - Replies (2)

For a school project, I need to make a linear gradient go from a color to transparent. I'm no stranger to using Gimp and I know the steps I need to take in order to achieve such an effect but a strange issue has been occurring. There's this weird dithering effect on the side that is supposed to be transparent.

I already unchecked the dithering option in the gradient tools but the effect still persists. I've looked up tutorials but none really seem to have this issue. I've even reinstalled Gimp but nothings changed. Does anyone have any idea of what's going on or what I'm doing wrong?

Print this item