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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,628
» Latest member: LaurSmit
» Forum threads: 7,176
» Forum posts: 39,209

Full Statistics

Latest Threads
gradients semi transparen...
Forum: General questions
Last Post: Ulodesk
5 hours ago
» Replies: 3
» Views: 148
Multiple install paths in...
Forum: Windows
Last Post: LateJunction
Today, 08:38 AM
» Replies: 2
» Views: 168
Information about GAP
Forum: Extending the GIMP
Last Post: ElMastro
Today, 01:51 AM
» Replies: 4
» Views: 486
Copy color effect to othe...
Forum: General questions
Last Post: PBog
02-20-2025, 12:56 PM
» Replies: 6
» Views: 342
Some questions about brus...
Forum: General questions
Last Post: rich2005
02-20-2025, 09:05 AM
» Replies: 2
» Views: 175
flowery cliff
Forum: Gallery
Last Post: MJ Barmish
02-19-2025, 01:29 PM
» Replies: 2
» Views: 172
How can I run Flatpak ver...
Forum: Linux and other Unixen
Last Post: Ofnuts
02-18-2025, 11:27 PM
» Replies: 3
» Views: 197
Export all opened images ...
Forum: Extending the GIMP
Last Post: Krikor
02-18-2025, 09:18 PM
» Replies: 8
» Views: 5,071
Arrow Script
Forum: Extending the GIMP
Last Post: programmer_ceds
02-18-2025, 04:51 PM
» Replies: 122
» Views: 152,415
Turn photo negative to po...
Forum: Tutorials and tips
Last Post: programmer_ceds
02-18-2025, 11:11 AM
» Replies: 4
» Views: 12,167

 
  Copy channel from one image to another image.
Posted by: Krikor - 10-08-2020, 06:35 PM - Forum: General questions - Replies (6)

How can I to copy channel from one image to another image?

I have two images open. In one of them I created channels which I want to use in the second image as well.

How I do:
I select one of the created channels - Channel for selection.
From this selection I create a path - Select - To Path.
In the Paths tab, drag this created path over the thumbnail of the second image.
I open the second image, and now I reverse the operation, select the path and create a channel from that selection.

Is there another, faster and more efficient way to copy channels from one layer to another?

Thank you.

Print this item

  Resynthesize along a path
Posted by: denzjos - 10-08-2020, 04:31 PM - Forum: Extending the GIMP - No Replies

One from under the dust (tested on gimp 2.10.22 / windows 10). Easy erase cables, lines, etc....  : 

http://www.silent9.com/blog/archives/172...p-2.8.html
Original picture
   
Draw paths
   
Launch Resynthesize along a path, in gimp menu : right click on path layer, then Resynth along Path
Fil in the parameters
Width of the line to repair (= to erase object + a few pixels)
Radius to take texture from (= how much image info to take next to the object) 
   

Print this item

  can't get two blacks to match
Posted by: ottenm - 10-08-2020, 03:50 PM - Forum: General questions - Replies (2)

In this PNG of 5 tally marks, the 5th one (going across) is visibly blacker & shinier than the others.  I'd like it to match the other 4, but I'm struggling to figure out what the difference is. 

Just grabbing pixels with the eye-dropper both sets seem about the same, a mix of solid black and colors that are close to black.  I thought it might be the alpha values, but I tried Layer > Transparency > Threshold Alpha and at 99% there's still a noticeable difference between the pixels that are left.

Any help greatly appreciated.

https://ibb.co/T1DRhTH

Print this item

  No more official mastodon account?
Posted by: ChameleonScales - 10-08-2020, 10:59 AM - Forum: Watercooler - Replies (2)

There used to be an official GIMP account on mastodon but it seems the instance is gone (I think it was mastodon.at or something ending with .at)
Did they decide not to create another account?

Print this item

  Changing to a solid color
Posted by: RawlinsCross - 10-07-2020, 07:25 PM - Forum: General questions - Replies (2)

Good day everyone,

I have an image of a rain coat that I'd like to fill in with solid color.  You can see (link below) that it's a funky little design, but I'd like to fill it all in with a solid color.  Maybe leave the face alone but if that's too hard, then it can be filled in as well.

This is my real first foray into GIMP.  It obviously is very complicated and any start-up advice would be certainly appreciated.  I figure this one would be good to start off on?


Picture of Raincoat

Print this item

Question Newbie: Python script error
Posted by: mike_b - 10-07-2020, 05:27 PM - Forum: Extending the GIMP - Replies (1)

I am very new to the Python scripting in Gimp. I have used Gimp in the past for manipulating individual images, but now I have to run specific operations on hundreds of images. So I checked into the scripting options. I discarded Script-fu, as I am familiar with programming languages like C, C++, etc., but the Schemes thing is quite different. Python, on the other hand is similar enough.

So, to start out I looked at some sample scripts like this one:

Code:
import glob
source_folder = "c:/mysource_image_folder/" #type your folder inside the quotes - append the final "/"
dest_folder = "c:/destination_folder/"
for filename in glob.glob(source_folder  + "/*.png"):
   img = pdb.gimp_file_load(source_folder + filename, source_folder + filename)
   pdb.gimp_drawable_brightness_contrast(img.layers[0], 0.2, 0)
   pdb.gimp_file_save(img, img.layers[0], dest_folder + filename, dest_folder + filename)
   pdb.gimp_image_delete(img)  # drops the image from gimp memory

When I copy and paste that into the Python window, I get an error right away on the "import glob" line (I also get that error when I just type in "import glob"):

import glob
  File "<input>", line 1
    rt glob
          ^
SyntaxError: invalid syntax

So, obviously I am doing something wrong. Did I not install something right? I installed Python 3.7 (Win10), then reinstalled Gimp 2.10.20. Do I need to do something else?

And apologies if this is the wrong thread. Please point me to the right thread if so.

Thanks.

Print this item

  Easy cropping
Posted by: Ethel - 10-07-2020, 02:57 PM - Forum: General questions - Replies (6)

Hello,


What is the easiest way to explicitly crop from any edge? e.g. how to crop, say, 8px from the left, 10px from the right, and 12px from the bottom without using a mouse? A text box where I can enter the number or numbers I want would be good.

The instructions for changing a selection don't work for me. Can the same be done for a rectangular selection box using absolute or relative coordinates, i.e. a modal windows with four text boxes that dynamically shows the new selection rectangle on the image?


Thanks in advance


Ethel

Print this item

  Messing around with GEGL
Posted by: rich2005 - 10-07-2020, 01:26 PM - Forum: Gallery - Replies (1)

Not Gimp but it is GEGL A 50 second animation https://i.imgur.com/Y2Scdr8.mp4 700+ frames so a bit large for a gif Wink

One of the frames from the middle:

   

Print this item

Photo new download haunted by old problem's ghost
Posted by: mellyrn - 10-06-2020, 08:42 PM - Forum: General questions - Replies (2)

I had Gimp 2.10.12 on my machine. While working an image, my fingers slipped and suddenly my tools/dialog box was much different:  fewer tool icons were displayed, and the dialog box was completely unfamiliar:  the dialog box also did not change depending on which tool (of the fewer tools) I chose.  So while I can choose "text", I am, for example, unable to choose a  font, and while I can choose "brush", I am unable to choose the size of my brush. The new dialog box window(s?) contain nothing.

   

I had been working with black as my foreground color and red as the background. That is relevant; please bear with me.

I went into Windows (10; 64-bit) "Settings" and uninstalled Gimp 2.10.12.  I went to gimp.org and downloaded 2.10.20.  I opened the new Gimp -- and I have the same reduced tool menu, the same unreadable, unworkable dialog box(es) -- AND THE SAME COLORS, black (foreground) & red (background).

I uninstalled & downloaded again. Didn't help.

I ran CCleaner, complete with "wipe free space", restarted my computer and tried again.  Once again the new download displays the same abbreviated tool menu, the same lack of usable dialog for the tools, AND THE SAME COLORS.

??? It feels like the old, broken version is somehow "haunting" my machine & corrupting the new downloads....

Please note, in the image labeled "normal gimp" -- that's Gimp 2.8, which I have on an old machine, but the tool/dialog box looks much like what I *used* to have in 2.10.12, & what I expect to see:
   

Print this item

  Oversized window
Posted by: halligant - 10-05-2020, 07:12 PM - Forum: General questions - Replies (1)

Hello,
The gimp window fills the entire screen and I cannot access the unit or scale boxes at the bottom of the screen.
In addition the toolbox extends right down the screen and I cannot access the functions at the bottom.
Any help to resolve this issue would be gratefully received,
                                                                                           Yours,
                                                                                         halligant

Print this item