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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,783
» Latest member: ProstaPeak
» Forum threads: 7,596
» Forum posts: 41,400

Full Statistics

Latest Threads
files missing after insta...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: rich2005
46 minutes ago
» Replies: 1
» Views: 42
Is there any version wher...
Forum: Older Gimp versions (2.8, 2.6....)
Last Post: rich2005
9 hours ago
» Replies: 1
» Views: 257
How do I uninstall GIMP 3...
Forum: Linux and other Unixen
Last Post: Ofnuts
10 hours ago
» Replies: 1
» Views: 119
AI Gimp Plugins
Forum: Watercooler
Last Post: merlilderman
Yesterday, 04:16 PM
» Replies: 21
» Views: 68,370
How to make a watermark o...
Forum: General questions
Last Post: kyolim
09-13-2025, 10:05 PM
» Replies: 5
» Views: 14,234
Linux command that does e...
Forum: Other graphics software
Last Post: rich2005
09-13-2025, 06:06 PM
» Replies: 1
» Views: 507
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: 415
Batch Color Saturation
Forum: Extending the GIMP
Last Post: rich2005
09-13-2025, 07:53 AM
» Replies: 15
» Views: 12,099
Photo play-time
Forum: Gallery
Last Post: Ofnuts
09-13-2025, 07:32 AM
» Replies: 24
» Views: 21,940
BIMP plugin for GIMP 3.10
Forum: Extending the GIMP
Last Post: firefly
09-12-2025, 11:53 PM
» Replies: 2
» Views: 768

 
  How to restore old yellowed photo
Posted by: Stephen Liu - 09-29-2023, 10:40 PM - Forum: General questions - Replies (16)

Hi all,

I have old colour photos in yellowed color but without scratch. My PC is connected to a 4K display and running Ubuntu 22.04 desktop

Please advise;
1) How to remove the yellowed color.
2) How to restore their original color
3) How to increase their sharpness

Thanks in advance

Regards

sample photo attached



Attached Files Image(s)
   
Print this item

  Pasting from Photoshop to Gimp
Posted by: petrifieddoublegulp - 09-28-2023, 10:53 PM - Forum: General questions - Replies (1)

Hi y'all,

I'm wondering if you could answer me a riddle.

I've been working with game textures recently, and doing most of my precision editing in photoshop, and then copying from photoshop and pasting into gimp when they're ready.

I had no trouble doing this with the color textures, I'd paste into gimp, export as .dds and bingo, all good. The game would reproduce the texture on the models just fine.

BUT, when I tried to do the same with the opacity layers, I'd paste into gimp, export as .dds making sure to generate mipmaps, and then all of a sudden the opacity layer was nowhere to be seen. When I edit the game's original opacity layer .dds in gimp itself without pasting from photoshop, the opacity layer is then recognized by the game.

So my question is how do I paste from photoshop into gimp, making sure that I am not bringing any errant data along for the ride that might confuse the way the game renders that layer? Is there something I'm missing?

Thanks

Print this item

Photo how to smooth edges?
Posted by: Sergey2004 - 09-28-2023, 06:44 AM - Forum: General questions - Replies (2)

how to smooth edges?



Attached Files Thumbnail(s)
   
Print this item

  White Balance, Auto Input Level algorthms
Posted by: BrianLink - 09-25-2023, 06:20 PM - Forum: General questions - No Replies

I've poked around the source code but am having difficulties and am currently trying to figure out how white balance  / auto levels is performed. 

I think I was able to figure out gimp_operation_levels_map as the root for determining setting gamma but there is a bunch of contextual stuff I am missing.  

Example: I'm thinking gimp makes a copy of the xcf representation of the image and performs an update to that. Then there is a history of steps and one can jump back to an intermediate step.  

Via bimp, using some of the procedures out of pdb, i noticed that the intermediate steps are not necessarily saved and may be overwritten.  For example gimp-drawable-levels (to set gamma) followed by gimp-drawable-levels-stretch wipes out the levels gamma change whereas reverse order works.  And ditto for color-levels-gui. 

Anyway pointing me to something high level to get around the 15 levels of indirection used in gimp would help.

Thanks

Print this item

  What does a bear do ?
Posted by: rich2005 - 09-24-2023, 01:17 PM - Forum: Watercooler - Replies (9)

The city authority cut down some old trees at the back of my house. The trees belong to them, and found to be diseased. A shame to see them go, someone counted the rings and came up with 164 years old.

   

But it reminded me of this cartoon, About what bears do....

   

Print this item

  Color working method help
Posted by: pixelmixer - 09-24-2023, 11:44 AM - Forum: Gimp 2.99 & Gimp 3.0 - Replies (2)

Hi,

I'm working in GIMP built-in sRGB, 16-bit non-linear integer.
Converting to an 8-bit non-linear integer in Adobe RGB 1998.



Code:
(iccPth "/home/mark/Artwork/Misc/Adobe ICC Profiles (end-user)/RGB/")
(icc (string-append iccPth "AdobeRGB1998.icc"))
(intent COLOR-RENDERING-INTENT-PERCEPTUAL)
(bpc 1)

(gimp-image-convert-precision dstImg PRECISION-U8-NON-LINEAR)
(gimp-image-convert-color-profile-from-file dstImg icc intent bpc)



And then export as a jpeg without any soft-proofing.

However the exported jpeg looks different in Krita and Image Magick to GIMP,
in Krita and Image Magick the colors are less chromatic, which is what I'd expect.


Anything obvious that might cause this jpeg to look different in GIMP?



Attached Files Thumbnail(s)
   
Print this item

  Color correct image based on known background color
Posted by: pluder - 09-23-2023, 11:08 AM - Forum: General questions - Replies (2)

Maybe this is a good idea, maybe not. 

I take pictures of different objects on the same background, with the same light source and intensity all the time. I use Gimp to edit those pictures. The camera will vary exposure, aperture, ISO, etc... depending on the object which will change the apparent color of the background. 

If I know the actual color of the background (say 90.7, 85.8, 85.8 in a RBG format) how would I apply a filter to color correct the entire image based on the change needed between the current background color and the known background value?

I am looking to try and get the most consistent/accurate colors for the objects. If this is not a good option, please let me know if you think there is a better way to do this. Bear in mind that I am really trying to make up for the camera and getting a better/different camera is not a viabile option at this time.

Print this item

  Single window
Posted by: sl60 - 09-23-2023, 05:08 AM - Forum: General questions - Replies (3)

Out of nowhere  Gimp switched to single window mode with fixed panels. So I unchecked the single window box and it reverted to a blank page. When I go to Windows>Dockable Dialogs and click on the Layers Panel, for example, it opens the panel but it jumps to full page spread out in a horizontal format.

How can I restore my set-up to a normal page with movable panels for Layers, Tools, etc.?

Print this item

  Gimpfu missing in GIMP v. 2.10.34 ?
Posted by: jcj2249 - 09-22-2023, 08:29 PM - Forum: General questions - Replies (1)

I am doing astrophotography and I added the PyAstro for GIMP plugins (https://stargazy.weebly.com/pyastro-for-gimp.html). 
These plugins use Python and my system is macOS 11.7.10.
They work perfectly on GIMP v. 2.10.32.
But they don’t work at all on GIMP v. 2.10.34.
The error is located in the scripts at : from gimpfu import *
Is the gimpfu file missing in GIMP v. 2.10.34 ?

Print this item

Python Python Out of Sequence?
Posted by: Kjaamor - 09-22-2023, 04:31 PM - Forum: Scripting questions - Replies (2)

I wrote a python script that removes a background colour from an image, orientates the remainder, resizes the image and then overwrites the existing image file. All of the functions work as expected...but they don't happen in the order expected. The final two lines (below) happen in reverse order.


Quote:    pdb.gimp_image_resize(imageToBeResized, 900, 1500, widthoffset, heightoffset)
    pdb.gimp_file_save(imageToBeResized, drawable, imageFileName, imageFileName)


 So the image will overwrite before being resized, and I have no idea why this is the case.

  1. Running the second line twice makes no difference - it will continue to overwrite without resizing.
  2. Duplicating both lines (1,2,1,2) actually shifts the affected area so that it saves in 900*1500 but to the image focus' upper left.
Anyone have any idea why this would be?

Full code below for reference:

Quote:def postmatch_resize(image):
    imageFileName = pdb.gimp_image_get_filename(image)
    imageToBeResized = gimp.image_list()[0]
    drawable = pdb.gimp_image_active_drawable(imageToBeResized)
    pdb.gimp_image_crop(imageToBeResized, 1900, 1500, 0, 0)
    colorToDelete1 = gimpcolor.RGB(9, 246, 57)
    colorToDelete2 = gimpcolor.RGB(6, 185, 42)
    colorToDelete3 = gimpcolor.RGB(7, 216, 50)
    colorToDelete4 = gimpcolor.RGB(4, 123, 28)
    colorToDelete5 = gimpcolor.RGB(5, 154, 35)
    colorToDelete6 = gimpcolor.RGB(3, 93, 21)
    colorToDelete7 = gimpcolor.RGB(2, 62, 14)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete1)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete2)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete3)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete4)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete5)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete6)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.gimp_image_select_color(imageToBeResized, 0, drawable, colorToDelete7)
    if pdb.gimp_selection_is_empty(imageToBeResized) == False:
        pdb.gimp_edit_clear(drawable)
    pdb.plug_in_autocrop(imageToBeResized, drawable)
    preheight = pdb.gimp_image_height(imageToBeResized)
    prewidth = pdb.gimp_image_width(imageToBeResized)
    heightoffset = 1500 - preheight
    widthoffset = (900 - prewidth)/2
    pdb.gimp_image_resize(imageToBeResized, 900, 1500, widthoffset, heightoffset)
    pdb.gimp_file_save(imageToBeResized, drawable, imageFileName, imageFileName)

I doubt very much that the above cobbled together solution is optimal so I'll take pointers but I'm also curious as to why it doesn't work sequentially? I thought that was the whole point.

Print this item