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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,641
» Latest member: GaryR
» Forum threads: 7,181
» Forum posts: 39,235

Full Statistics

Latest Threads
Gimp make jpg to Webp 100...
Forum: General questions
Last Post: estatistics
8 hours ago
» Replies: 8
» Views: 152
scriptfu could says what ...
Forum: Scripting questions
Last Post: estatistics
10 hours ago
» Replies: 0
» Views: 57
Eraser Stopped Working
Forum: General questions
Last Post: Ofnuts
Yesterday, 07:55 AM
» Replies: 9
» Views: 250
select outline
Forum: General questions
Last Post: sallyanne
Yesterday, 02:38 AM
» Replies: 2
» Views: 104
I can't edit a path
Forum: General questions
Last Post: Ofnuts
02-23-2025, 08:38 AM
» Replies: 2
» Views: 119
gradients semi transparen...
Forum: General questions
Last Post: Ulodesk
02-22-2025, 05:00 PM
» Replies: 3
» Views: 195
Multiple install paths in...
Forum: Windows
Last Post: LateJunction
02-22-2025, 08:38 AM
» Replies: 2
» Views: 203
Information about GAP
Forum: Extending the GIMP
Last Post: ElMastro
02-22-2025, 01:51 AM
» Replies: 4
» Views: 531
Copy color effect to othe...
Forum: General questions
Last Post: PBog
02-20-2025, 12:56 PM
» Replies: 6
» Views: 357
Some questions about brus...
Forum: General questions
Last Post: rich2005
02-20-2025, 09:05 AM
» Replies: 2
» Views: 191

 
  Editing Plug-in "ofn-export-layers-combinations"
Posted by: joedana - 05-20-2024, 03:49 PM - Forum: Extending the GIMP - Replies (1)

Hello, 

I am hoping that i could get some guidance regarding an edit i am trying to do to the .py file "ofn-export-layers-combinations" authored by 'Ofnuts'. 

I want to be able to export images that doesnt alternate in combination but in parallel. Here is what i mean:

image.layers:

Layer A (linked)

       Group Layer B (linked)

                Layer B1 (visible)

                Layer B2 (visible)

                Layer B3 (visible)

Layer C (linked)

      Group Layer D (linked)

                Layer D1 (visible)

                Layer D2 (visible)
                Layer D3 (visible)
Layer E (linked)

Id want Layer A, Layer C, and Layer E to always remain visible and present in the image. Group B and Group D would fluctuate in parallel, meaning B1 and D1 would be stored in a list together, visible on the image, and exported. Second export will contain [B2, D2]. Third Export will contain [B3,D3]. 

These are the steps i have taken so far:

Swapped out line 84: "for i,layers in enumerate(product(*combinableLayers)):" to "for i,layers in enumerate(zip_longest(*combinableLayers)):". And the plug-in isnt coming up anymore meaning I need to make other changes for the code to work. What other changes do I need to implement for this to work? Are we even allowed to edit plug-ins? Guidance would be appreciated.

Print this item

  Vocabulary question for native english speakers
Posted by: Ofnuts - 05-20-2024, 07:30 AM - Forum: Watercooler - Replies (7)

What word describes the ever changing background in this animation (happens all over but is even more visible in the blue/pink transition at the lower right)?

   

In French I would say "fourmillement", dictionaries convert to "swarming", but I'm not convince this is the term.

Print this item

  how to blend a low res with same high res photo
Posted by: jellimon - 05-20-2024, 01:06 AM - Forum: General questions - Replies (2)

Hi all
Very much a beginner here

I have two photograph's that are of the same subject, exactly the same shot, one is a high resolution B&W and one is lower resolution colour, 

How could I blend the two together and retain the High Resolution AND add the colour from the Lower resolution photograph to achieve a high resolution colour result.

Is it possible.

Many thanks

Print this item

  Image layering and blending with background
Posted by: lpd7 - 05-19-2024, 10:47 PM - Forum: General questions - Replies (12)

Not sure what the correct topic would be so hopefully this is the right group to post the question. 

I am creating a logo, I am using a cartoon image of a bulldog and want to place a large prehistoric bone in its open mouth. What I am trying to achieve is that when I place the bone in the dogs mouth I can bring forward certain features such as teeth, muzzle and such so they are visible while keeping others like tongue and cheeks obscured by the bone.

I have added a photo to illustrate what I am trying to do, its not a cartoon but the idea is the same. When the bone is in the mouth certain features are visible and others are not can I accomplish the same using Gimp?

Thank you.



Attached Files Thumbnail(s)
   
Print this item

  Editing Real Estate Photos
Posted by: festus - 05-19-2024, 09:05 PM - Forum: General questions - Replies (8)

All,
I use GIMP to edit raw ambient and flash real estate photos. I have GIMP 2.10.38 loaded onto a Windows 11 system. I have 16 giga-bytes of memory and a very fast processor with over 5000 giga-byes of storage.
When I load, as layers, an ambient and flash photo, select the ambient photo, and select anything from the Colors menu, nothing has an effect on it. When I try editing the flash photo everything from the Colors menu works. I need to edit the ambient photo first.
In order to see if I can correct the situation, I have
- removed any non-CR2 files related to the files I need to edit
- reloaded GIMP
- shutdown the system for a few hours while I cool down
I am open to any suggestions/corrections/modifications that anyone may have.
Thanks,
Festus
.

Print this item

Photo Can this be simplified/dramatised?
Posted by: abrogard - 05-17-2024, 11:50 PM - Forum: General questions - Replies (12)

I want to show plumbers the problem I have with a tap seat but I have been unable to take a good clear pic.
There are two grooves in it is the problem.
You can see them if you look hard on the pic I took.  One at about 3 o'clock and the other at maybe 10 o'clock.
They prevent washers working well.  There is always a leak.
I have played with Gimp as best I could but I've failed to find a way to clean up this pic so it simply shows things and shows them 'dramatically', so to speak.
Any suggestions as to what I could/should do?  

I tried to post the  pic but it seems it was too big so I've put it up on imgur

https://imgur.com/a/OyPNkvM

Print this item

  back to GIMP after years - now i want to dive inot all that
Posted by: st_barr - 05-16-2024, 06:26 PM - Forum: Other graphics software - Replies (2)

good evening dear Sir,

hello dear GIMP-Experts

i have used GIMP  years before - and now i gladly found back to gimp.

i now want to dive into all that - working with GIMP. I have found allready that there were good handbooks and things like that.

btw:  one question regarding the creation of pics - its a Question about AI, e.g. the possibilities and limits: can you, for example, recreate photos with AI? So, for example, if I say, take a photo of xy in the situation at xz.

E.g. a man gets on a bus!? or so?!

Dear GIMP.-Experts - i will start over with the work on GIMP i have lots of questions. so expect me to come back on a regular basis.

greetings
st barr

Print this item

Tongue Can't use Color to alpha on that one
Posted by: PixLab - 05-16-2024, 06:27 AM - Forum: General questions - Replies (6)

I wanted to compare a @Ofnuts' method to one of mines here > https://www.reddit.com/r/GIMP/comments/1...xcept_for/

I did the Ofnuts method first, (the top layers in the xcf below) then I wanted to Color to Alpha as a starter of mine, and it does not work on this very specific layer (the visible one, and the one above)

Can you try it?
Open the Xcf and directly go to color to alpha (whatever color), and if you find out why it is not working, please tell me, like that this evening I would be able to go to sleep a bit less stupid  Big Grin

The .7z ➤ https://sendgb.com/rpv37MwBYRf 2mb
or the .xcf ➤ https://sendgb.com/rMuRLSdV9Ql 4.5mb

If you drag and drop that layer in the tool box to open as a new image, yes color to alpha will work, but what I want to know is why it is not working in that xcf

EDIT: Never mind, I'm stupid, I just checked the menu Select and None was not grayed out....  Rolleyes
Morality of the story, when something does not work, don't forget the basics ➤ check the Select

Although I cannot find out where is that selected pixel... Angry

Print this item

Photo Does Script-Fu support input/output of the files?
Posted by: esm - 05-15-2024, 09:38 PM - Forum: Extending the GIMP - Replies (4)

Hi guys, I'm using Gimp 2.10.36 and need to find the coordinates of selected bounding box using this python code:

Code:
from gimpfu import *
import os

def foo():
   selection, x1, y1, x2, y2 = pdb.gimp_selection_bounds(gimp.image_list()[0])
   if not selection:
       pdb.gimp_message("No selection")
   else:
       gimp.message('%d, %d, %d, %d' % (y1, x1, y2, x2))
register(...)
main()

I'm wondering if there is a way to write the contents of a gimp.message(the coordinates) directly to a txt file? Can you please provide some examples?
This is the output I want to get - a created txt file with the same name as the image and 4 coordinates inside:
   

This is the code I found but it's written in Scheme (Lisp dialect) and I don't understand how to rewrite it in python.
Code:
(define outport (open-output-file "samplefile.txt")) (display "Hello" outport)
(newline outport)
(display "World" outport)
(close-output-port outport)

Print this item

  SOOOOOOOOOOO close in cleaning up an image
Posted by: 977 - 05-15-2024, 04:28 AM - Forum: General questions - Replies (6)

hi all,

i am sooooooooooooo close in cleaning up an image.....something minor must be keeping me from moving on. i could please use your help

i'm following this tutorial here. 
https://www.youtube.com/watch?v=J0R3XvrsC3c

if you could please watch a few seconds at 9:47....see how is paintbrush is cleaning it up? when i do it, its just painting black on there (my settings for paintbrush are the same as is, i've checked them a million times, and everything up to this point i've matched his results so it has to be something minor) 

i want to throw my computer out the window right now! i'm so close and this is the most important part.

maybe he clicked on something? the problem with tutorials is that if they click without saying they clicked, its impossible to tell ya know?

thank you for your help


bonus question - have you all heard of this dude before? is he good? should i rely on him for future tutorials? he was honest in his tutorial - he said theres a million ways to accomplish this but this method is the most straightforward

Print this item