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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,949
» Latest member: TomLiaini
» Forum threads: 7,708
» Forum posts: 41,911

Full Statistics

Latest Threads
Text Editor hardly ever w...
Forum: General questions
Last Post: sallyanne
1 hour ago
» Replies: 6
» Views: 531
Gimp 3.0.6 Python plug-in...
Forum: Scripting questions
Last Post: Volker
4 hours ago
» Replies: 2
» Views: 129
How to transform a layer ...
Forum: General questions
Last Post: rich2005
5 hours ago
» Replies: 1
» Views: 95
Ubuntu - Right way to cra...
Forum: Linux and other Unixen
Last Post: ExplodingCabbage
Yesterday, 08:01 PM
» Replies: 2
» Views: 178
What exactly tutorials ar...
Forum: General questions
Last Post: SleipnirTheHorse
Yesterday, 02:32 PM
» Replies: 5
» Views: 427
Random Clone
Forum: General questions
Last Post: mrkid
Yesterday, 01:26 PM
» Replies: 3
» Views: 254
Problem with Gimp 3 Pytho...
Forum: Scripting questions
Last Post: Volker
Yesterday, 11:03 AM
» Replies: 7
» Views: 446
Issue with Gradient Flare...
Forum: General questions
Last Post: rich2005
Yesterday, 09:56 AM
» Replies: 4
» Views: 216
ExifToolGUI and ExifTool ...
Forum: Other graphics software
Last Post: denzjos
Yesterday, 09:47 AM
» Replies: 10
» Views: 9,897
Beginner question on Laye...
Forum: General questions
Last Post: denzjos
Yesterday, 07:05 AM
» Replies: 1
» Views: 128

 
  Help! Updating libgegl-0.4-0
Posted by: david - 06-20-2022, 09:16 AM - Forum: Linux and other Unixen - Replies (8)

After the latest update to gimp, I need an updated libgegl-0.4-0.

If I do:
apt list --upgradable I get:
libgegl-0.4-0
libheif-dev
libheif1

If I then do:
sudo apt upgrade I get:
that the three packages have been kept back:
3 not to upgrade.

How do I solve this problem?
All help gratefully received.

Edit: I should have added that this is the pandajim 2.10.30 with python 2.7 support (thanks to Rich) - everything working until the update today.

Print this item

Scheme Script-fu icons
Posted by: Ofnuts - 06-20-2022, 08:11 AM - Forum: Gimp-Forum.net - Replies (4)

For the script-fu oriented, there are now "lambda" icons for the  post/thread header, as a well as a lambda "smiley"(*):  Lambda

(*) more like a smirk, IMHO Big Grin

Print this item

  How to restore faded photos?
Posted by: Stephen Liu - 06-19-2022, 04:03 PM - Forum: General questions - Replies (17)

Hi all,

What will be the simple way to restore faded photos?

Please advise.  Thanks

Faded photos attached

Regards



Attached Files Thumbnail(s)
   
Image(s)
   
Print this item

  Pointer size issue
Posted by: dgnyberg - 06-18-2022, 11:48 PM - Forum: General questions - Replies (5)

I just made the switch to Linux and I'm using POP OS with GIMP 2.10.

My cursors are normal sized when using the OS. But, when I open GIMP, the cursor size is massive.
Is there a way to change the cursor size to match the OS cursor size?
I searched through the menus and couldn't see any way to do it.
I tried a couple of things I thought might do it, but had no luck.
Gimp is almost unusable with the super-large cursors.

Thank you for any assistance.

Dave

Print this item

  Just need some help
Posted by: drowofluna - 06-18-2022, 08:22 PM - Forum: General questions - Replies (1)

This may be common knowledge, but im new to it.  I need to create a grid for a template i need to print.  Im having issues putting the guidelines exactly where i need them.  Is there a way to specify in inches on where i need the lines? I have discord or whatever just to get help it would be greatly appriciated.

Print this item

  Everything you wanted to know about the GPS
Posted by: Ofnuts - 06-18-2022, 11:27 AM - Forum: Watercooler - No Replies

Long read, but hands-on experiments and really worth it anyway: https://ciechanow.ski/gps/

Print this item

  Minimize noise in drawings; keep only intended shades
Posted by: Gully - 06-17-2022, 01:34 PM - Forum: General questions - Replies (4)

I am trying to draw/paint with only 4 gray shades on top of a black background. I am then exporting the drawing to a file that is read into Python with the PIL library (for image processing) as an image mask. When the file created in GIMP is read into Python, a quick look at the values associated with the palette indicates about 20 values. I'm only expecting five values, the background and four gray values, and not sure why this is happening. I think it possibly has to do with pixels that are not one of the shades I'm trying to stick to in the drawing, what I consider noise. I don't have much graphics background, so I may not have the language I need to describe my problem.

My workflow is:
1. Add a new layer over a camera image I'm working with. The new layer has a black background, the HTML notation is 000000. Call it "next".
2. I select the next layer, turn off its visibility to see the camera image with AOIs (Area Of Interest).
3. I use the paths tool to trace the outline of an AOI on next layer. I modify the paths to fit the AOI best I can.
4. I stroke the path to finish that AOI. I use a white color to stroke the paths.
5. I repeat 3 and 4. I have 4 AOIs in each camera image I'm working with.
6. I pick one of HTML notation colors 030303, 070707, 0b0b0b, or 0e0e0e as bucket fill for inside of each AOI.
7. I change the zoom to 200 or 400% to get a good look at the white outline of each AOI. I pick the respective gray per AOI and color over the white outline to make the whole AOI just one shade and get rid of white.
8. I change the mode of the layer to Grayscale in the Image menu.
9. In Layer>Transparency> Remove Alpha Channel
10. I export to PNG and save as 8bpc Gray with no background color.

I import the PNG to Python and then find that there are 16-20 values in the image.

I've attached an example of one of the next images. It's hard to see one of the AOIs because the 030303 is hard to tell from 000000, but you can see that AOIs get darker from one end to the other.

Is there a way to make sure that I'm just getting the background and the four AOI shades in the PNG?



Attached Files Thumbnail(s)
   
Print this item

  Error Message
Posted by: Owen Jones - 06-17-2022, 06:26 AM - Forum: General questions - Replies (5)

Hi,
I keep getting the same error message.
How do I either disable or deal with it, please?
It's driving me mad :-)

Excessive number of Xmp.photoshop.DocumentAncestors tags found: 1001. Only keeping the first 1000 values.

Thanks,
Owen

Print this item

Python Trouble replicating posterize with blending option enabled in python-fu script
Posted by: Error - 06-16-2022, 07:29 PM - Forum: Scripting questions - Replies (3)

Hello! I've recently started scripting with gimp and I've ran into a problem with posterize. I believe the issue is with how I am trying to implement the blending option. Does anyone have experience with automating the posturize tool with a blending option enabled?

I've found:
gimp_edit_blend()
gimp_context_set_paint_mode()
gimp_layer_set_mode()

Removed Alpha layer, manually using the posterize tool with 2 levels an color erase blending
[Image: asdf.png]
With my tool set to 2 levels using gimp_edit_blend
[Image: qwer.png]

Code:
srclayer = image.layers[0]
pdb.gimp_image_insert_layer(image, pdb.gimp_layer_copy(srclayer, 0), None, -1)
pdb.gimp_drawable_posterize(image.layers[0], amount)
pdb.gimp_context_set_paint_mode(57)
image.layers[0] = blendColorErase(image.layers[0])

It's quite possible I'm completely missing how the posterize tool accomplishes the blending. So far the results I've been getting are as if I had no blending mode selected (Replace/Normal). I'm aiming to use the Color Erase paint mode, but I'm running out of ideas what I'm doing wrong.

Thank you for reading.

Print this item

  Batch convert into webp
Posted by: meetdilip - 06-16-2022, 03:23 PM - Forum: General questions - Replies (9)

A friend of mine, who is into web development, optimises the images by making them small, say 13 -20 KB. He uses Photopea to get his favourite image size at 2000 x 1309 px and exports it into webp format.

I am amazed that he manages to convert even full HD images in the 15 - 25 KB range. Wondering if we can do that same in GIMP. And apply it a number of images. Thanks.

PS: I do have BIMP installed. But not sure how to use properly for this use case.


The best I could do was 1.4 MB from Unsplash to 422 KB using resize and then convert to webp.

Print this item