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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,004
» Latest member: Ronaldsheni
» Forum threads: 7,741
» Forum posts: 42,069

Full Statistics

Latest Threads
Why does HTML/css scale i...
Forum: General questions
Last Post: Tas_mania
Yesterday, 07:20 PM
» Replies: 1
» Views: 118
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: InquisitiveAsHell
Yesterday, 07:40 AM
» Replies: 6
» Views: 617
Transparent Background Ad...
Forum: General questions
Last Post: Kramskry
12-16-2025, 08:52 PM
» Replies: 2
» Views: 292
Inside drop shadow maybe?...
Forum: General questions
Last Post: denzjos
12-16-2025, 04:45 PM
» Replies: 2
» Views: 233
gexport: Make-like tool f...
Forum: Extending the GIMP
Last Post: JohnHammersley
12-16-2025, 03:42 PM
» Replies: 0
» Views: 118
Help with colour matching
Forum: General questions
Last Post: denzjos
12-13-2025, 05:05 PM
» Replies: 1
» Views: 240
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
12-13-2025, 10:29 AM
» Replies: 14
» Views: 723
GIMP 3.x Python Plugin Is...
Forum: Scripting questions
Last Post: Ofnuts
12-13-2025, 08:53 AM
» Replies: 1
» Views: 237
Gimp larger than Screen
Forum: General questions
Last Post: sallyanne
12-13-2025, 03:53 AM
» Replies: 2
» Views: 263
Straighten your image bef...
Forum: General questions
Last Post: ESH
12-12-2025, 09:26 PM
» Replies: 4
» Views: 308

 
  Restore faded photo with colors from prior scan
Posted by: ebaylus - 09-12-2020, 09:22 PM - Forum: General questions - Replies (2)

Hi,
  I have some photos that I am scanning to reprint.  They are significantly faded.  I have found LOW res scans of the original photos that look good colorwise.  Is there any way to have GIMP use the color levels form the low res scans to adjust for the faded images I rescan.  I've played with the Auto levels, etc, and unfortunately, this is not my area of expertise.

Thanks!

Gene

Print this item

  Issue With Brightness-Contrast
Posted by: agjr38 - 09-12-2020, 03:53 PM - Forum: General questions - Replies (4)

I assume that this is a simple issue to resolve. I would be very grateful if someone could help with this.

I have been drawing cartoons as a hobby for several months (by hand), and have begun to color some of them. Because I am a novice with all things technological, I have been watercoloring them. On a couple of the earlier ones I completed, there were some faint pencil marks on some parts of the drawings. I did not worry about it, and thought I could just change the contrast to eliminate the problem. Of course, if I had looked into it further, I would have realized that adjusting the contrast with a colored picture distorts those colors.

So, my question is as follows: is there a way that I can isolate a specific portion of a picture and adjust the contrast only for that portion selected, instead of the entire picture? I was thinking I could lasso a certain part of the picture, make it a new layer, and then adjust the contrast for that portion that is now the new layer. Is that possible? 

I really require a step-by-step instruction, because I struggle using these tools even with the multitude of videos available. Thank you so much to anyone who can help me out with this!

Print this item

  A curiosity
Posted by: david - 09-12-2020, 02:18 PM - Forum: Scripting questions - Replies (2)

I have written the attached code which works perfectly (to my amazement!), except for the naming of channels. The screenshot shows the layer names which are identical to the channel names. What I was hoping to have was just the numbers 0 to 9.

I have tried: channelName=channelName[-1] and channelName=""+str(channelNum), but the result is always the same.

It is of no great importance, although I am curious to know why this is the case.

david.

Code:
for spline in splinePoints:
    
        layer_copy1 = pdb.gimp_layer_new_from_drawable(layer_copy,image)
        pdb.gimp_image_insert_layer(image,layer_copy1,None,0)            #(image,layer,parent,position)
        
        pdb.gimp_drawable_curves_spline(layer_copy1,HISTOGRAM_VALUE,len(spline),spline)#cycle through splinePoints list at each iteration
        
        channelNum=(0)                                    #integer index for channelName
        channelName=str(channelNum)                            #channelName string from channelNum

        #copy Red channel as:
        channelName = pdb.gimp_channel_new_from_component(image,CHANNEL_RED,channelName)#(image to add channel, component, channel name)
        pdb.gimp_image_insert_channel(image,channelName,None,0)                #(image,channel,parent,position)
        
        channelNum+=1                                    #increment integer index
        
        pdb.gimp_image_remove_layer(image,layer_copy1)                #remove equalized layer that was used to create masks



Attached Files Image(s)
   
Print this item

  Ofn Extract Objects problem
Posted by: Blighty - 09-12-2020, 12:47 PM - Forum: General questions - Replies (2)

I'm using the ofn-extract-objects to file for the first time. I have come across a problem.

The first row (A-J) works well . Files created as expected. Then it crashes.



Attached Files Thumbnail(s)
   
Print this item

  strange behaviour
Posted by: vpkumar - 09-12-2020, 02:16 AM - Forum: General questions - Replies (4)

I am using GIMP 2.10. on windows 10 64 bit platform. I find when I add a layer mask with black transparency the square  is white and when I add layer mask with white full opacity the rectangle is black. The whole thing has got reversed. I have tried reloading gimp but the problem persisits. Can anyone tell me why this is happening.

Print this item

  Help! Python loop for the mentally challenged.
Posted by: david - 09-11-2020, 02:56 PM - Forum: Scripting questions - Replies (2)

I have channels, named 0 to 9.
To create layers 0 to 9, I can repeat the code, changing "0" to "1", "2", etc. and it works perfectly.
I would like to make a loop to carry out this process, but everything I have tried has given me errors and searching the internet hasn't provided any examples for me to follow.

An example of how to do this (ideally with a detailed explanation) would be appreciated and perhaps would help others.

david.

Code:
#create layer with 0 as mask
    
    pdb.gimp_image_select_item(image,CHANNEL_OP_REPLACE,channel0)
    layer_add = pdb.gimp_layer_new_from_drawable(layer,image)
    pdb.gimp_image_insert_layer(image,layer_add,None,0)
    pdb.gimp_item_set_name(layer_add,"0")
    pdb.gimp_layer_create_mask(layer_add,ADD_MASK_SELECTION)
    mask = pdb.gimp_layer_create_mask(layer_add,ADD_MASK_SELECTION)
    pdb.gimp_layer_add_mask(layer_add,mask)
    pdb.gimp_image_remove_channel(image,channel0)

Print this item

  Solid Colours Lost on Export
Posted by: Ben03 - 09-11-2020, 09:01 AM - Forum: General questions - Replies (4)

I apologise if this is addressed in another topic, but don't know the technical terms for what's going on here. It is probably a simple setting I am missing:

When I export an image, jpeg or png, any area of a solid colour is removed from the image. What am I doing wrong here?

Thanks

Print this item

  Any on-screen live effects widget for Linux?
Posted by: ChameleonScales - 09-10-2020, 11:20 AM - Forum: Other graphics software - Replies (2)

Looking for a way to bypass GIMP's lack of dynamic filters and color adjustments in some situations, I wonder if there exists any real-time widget software that performs image effects and adjustments on a given region of the screen.
This could be useful to quickly analyse an image or to preview the result of an adjustment without having to merge all the layers and apply the filter in GIMP.

To give you a better idea of what I'm looking for, there is this app, "Scopes", that displays the vectorscope of a given screen region. What I would like is something that lets you preview filters or effects such as curves or levels on that region (could be other effects too).

Print this item

  >Lost in new Gimp
Posted by: qim - 09-10-2020, 10:16 AM - Forum: General questions - Replies (5)

I have been away for a while and am lost...

I have an image that I want to crop and make it fit in a canvas 300 x 300 

I have tried and tried and can't even save what I managed to do

I also want to grey out the registration,

help!....


PS I added original photo as cropped one too cropped...



Attached Files Thumbnail(s)
       
Print this item

  Plugin not using dark theme
Posted by: xeonicus - 09-10-2020, 02:10 AM - Forum: General questions - Replies (5)

I'm using Gimp 2.10.20 on Windows 7.  I set Gimp to use the dark theme.  Everything works great.


I installed a plugin called fanim timeline.

Now, the plug-in actually functions correctly.  However... the timeline window uses the default theme, not the dark theme.

The screenshot on GitHub clearly shows the plugin using the dark theme.  I don't know if it's a plugin problem, or my problem.  My other plugins recognize the dark theme and use it.

Print this item