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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,877
» Latest member: Prince
» Forum threads: 7,664
» Forum posts: 41,709

Full Statistics

Latest Threads
Crash when "expand layer"...
Forum: General questions
Last Post: rich2005
4 hours ago
» Replies: 1
» Views: 53
Clone from screen... do y...
Forum: General questions
Last Post: rich2005
4 hours ago
» Replies: 1
» Views: 49
I get program crash when ...
Forum: General questions
Last Post: denzjos
4 hours ago
» Replies: 3
» Views: 121
ASTROPHOTOGRAPHY- CREATIN...
Forum: Tutorials and tips
Last Post: denzjos
8 hours ago
» Replies: 3
» Views: 121
Text on a Path....
Forum: General questions
Last Post: rich2005
Yesterday, 05:03 PM
» Replies: 5
» Views: 301
Resynthesizer 3 vs Gimp 3...
Forum: Installation and usage
Last Post: rich2005
Yesterday, 12:26 PM
» Replies: 7
» Views: 252
Fill bucket tool gives fu...
Forum: General questions
Last Post: sallyanne
Yesterday, 11:31 AM
» Replies: 3
» Views: 120
Copy and paste in pdf (em...
Forum: General questions
Last Post: denzjos
Yesterday, 08:52 AM
» Replies: 3
» Views: 198
Install Resynthesizer
Forum: General questions
Last Post: MrsP-from-C
Yesterday, 07:44 AM
» Replies: 8
» Views: 217
Apply filter as brush?
Forum: General questions
Last Post: Tas_mania
10-17-2025, 08:58 PM
» Replies: 1
» Views: 124

 
  procedure not found
Posted by: robgab - 02-28-2024, 05:11 PM - Forum: Scripting questions - Replies (1)

Good day to everybody...
I'm trying to call a G'MIC pluging from a pyhon-fu plugin with the following line:

pdb.gimp_run_procedure("script_fu_engrave", [image, layer])

The script I'm trying to call is:

(define (script_fu_engrave image drawable)
  (plug-in-gmic-qt RUN-NONINTERACTIVE image drawable 0 0 "fx_engrave 0.04,40,0,2,45,-1,1,0,10,1,0,0,0,1,0,50,50")
)
(script-fu-register "script-fu-engrave"
                    "<Image>/Filters/Custom/Engrave"
                    "Apply the Engrave filter"
                    "Your Name"
                    "Your Name"
                    "2024"
                    ""
                    SF-IMAGE "Image" 0
                    SF-DRAWABLE "Drawable" 0)

Script and plugin are into the right directories but the code return to me the following error:

Traceback (most recent call last):
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 741, in response
    dialog.res = run_script(params)
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\python/gimpfu.py", line 362, in run_script
    return apply(function, params)
  File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\GammaCorr1.py", line 66, in python_fu_custom_function
    pdb.gimp_run_procedure("script_fu_engrave", [image, layer])
error: procedure not found

I spent a full day to try to fix it and I am very frustrated... Is there someone who kindly help me?

Print this item

  ofnuts request script
Posted by: gimpygirl - 02-28-2024, 05:39 AM - Forum: General questions - Replies (3)

Hi

This is for ofnuts: are you interested in adding a script to your collection that is doong the same as this?

https://www.gimp-forum.net/attachment.php?aid=11260

Then I could always download it from there since this one is not online I think.

Print this item

  I don't succeed to download an image to 300 DPI
Posted by: Paul - 02-28-2024, 02:10 AM - Forum: General questions - Replies (7)

Hi,

I'm a beginner in the field. Please help me solve a problem. I have a 2500x3500px image, which I have uploaded in GIMP, to make part of it transparent. Then I wanted it to be downloaded with 300 DPI. Although I set the "Scale Image" to 300 DPI, when I downloaded it, I only had a 120 DPI image.
I made several attempts but to no avail,  GIMP refuse to download the image at 300 DPI.
Where am I going wrong?
Thank you.

Print this item

  snap to grid
Posted by: gimpygirl - 02-28-2024, 12:14 AM - Forum: General questions - Replies (1)

Hi

When you make a grid and then do a crop, the selection with the mouse snaps to the grid automatically when you reach a grid line.
Can this be turned off too?

Print this item

  Selection deletion making layer turn transparent
Posted by: FolkFriend - 02-27-2024, 04:06 PM - Forum: General questions - Replies (1)

Hello all and thank in advance for your help with this unusual issue! I have been using Gimp for a very long time with no issues but recently whenever I create a selection using the fuzzy select tool and use the delete key to rub it out, I find that the remaining parts of the layer go semi-transparent. Can anybody tell me how to prevent this please?

Thanks!

Print this item

  ofn-export-layers
Posted by: gimpygirl - 02-27-2024, 01:15 AM - Forum: General questions - Replies (9)

I use ofn-export-layers a lot. Super useful plugin!
I noticed a very strange thing in windows 10 , GIMP 2.10.36

When ofn-export-layers is running (writing files) and I enter text anywhere on my computer, it adds characters I don't enter on my
keyboard like: ~ and ' and many more. So if I write "test", it adds random character in "test" which I dont really enter...

When ofn-export-layers has finished, this strange thing dissapears and I can enter text normally

Also ofn-export-layers runs very slow. Is this related to this?

I wanted to ask if the developer can tell me what this problem could be and if ofn-export-layers can be made faster (if possible).

So I need to wait to enter text anywhere until ofn-export-layers finished his work.

Print this item

  automate layer movement
Posted by: gimpygirl - 02-27-2024, 01:02 AM - Forum: General questions - Replies (19)

Hi

Referring to this post:

https://www.gimp-forum.net/Thread-Cut-sq...from-iamge

I use the method with the guides and 2 python scripts.

2 questions:

1. Is it possible to automate layer movement? The images all have the same size. The layer needs to be moved in order to fit the guides of size 150 px. Is there a plugin or script that can let me move a layer to a position by entering x,y values or something?



2. Is is possible for the ofn-export-layers to have {numUp0}.png appear automatically so that I don't need to enter it each time when i run gimp?



Attached Files Image(s)
   
Print this item

  How to create a gradient from a profile?
Posted by: grillp - 02-26-2024, 11:31 PM - Forum: General questions - Replies (1)

Hey All.

New GIMP user here.

I am doing  some 3D modelling/rendering and want to create a greyscale bump map from a profile...

The profile is for a scalloped panel, as seen here:

   

So I want to use that profile to create a grayscale bump map like this (Dark is lower, light is higher), that repeats in the y direction, but follows a path that is the profile I am after.. kind of like this:

   

I created this one using a feathered Border Selection from a single central line, but it creates, a peak at the top and bottom of the bump which is not what I am after.

I find that using standard gradients are too linear, and I would like to use a Bezier curve path as the source for the gradient. If that makes sense.

Any pointers would be appreciated.

Cheers

G./

Print this item

Lightbulb Exported png files get about 100 times larger than expected
Posted by: Grobe - 02-26-2024, 11:16 PM - Forum: General questions - Replies (1)

Hi.

Ok, so first - trying to upload the xcf file failed because of file size, so the only file possible to upload correctly is this png export settings.

Here is the file description.

  • Layer 1 - importet PNG file, file size about 55kB
  • Layer 2 - same dimension and roughly same size, but not same image.
  • Layer 3 - New transparent layer.
  • The layer 3 mainly consists of small spots of non-transparent pixels created with clone tool, so it's just to add/remove some features of a map.
The problem is that after exporting this image file to png format, the resulting file size get over 6MB - that is about 100 times larger, I expected the output png file to be maybe around 70kB at maximum.


Edit : Solved while edit this post

Ok, just figured the solution. The image precision was set to 32 bit floating point, and by converting to 8 bit integer, the exported PNG file became a nice 77kB file.

I post this anyway in case somebody happens to stumble upon same issue.



Attached Files Image(s)
   
Print this item

  Tips for cleaning up a receipt image
Posted by: mattyp77 - 02-25-2024, 08:19 PM - Forum: General questions - Replies (3)

So I have a receipt that I accidentally dropped on the floor of my car. Didnt notice it and it got stepped on, dirty, wrinkled, and distorted but it turns out I actually really need it to make a return. And it cant be looked up by credit card, it was a cash receipt. So I scanned it, cropped it, converted it to black and white, and did a little bit of manual clean up. Already that did a massive amount of clean up but I would like to go a step further. A lot of the text is cracked and partly unreadable and the bar code has a crease through it. At the very least I would like the lettering especially for the transaction number to be crisp and readable. If possible I would also like to fix up the bar code. I wonder if I can actually get it to scan. So any tips for filling in the cracks in the text and cleaning up the barcode would be greatly appreciated. Thanks

**Note: For the image I uploaded I did block out specific details to keep it anonymous. Besides its only so you can see what Im working with. Not for you to do it for me. Thanks!



Attached Files Thumbnail(s)
   
Print this item