Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,641
» Latest member: GaryR
» Forum threads: 7,181
» Forum posts: 39,235
Full Statistics
|
|
|
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.
|
|
|
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.
|
|
|
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
|
|
|
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
.
|
|
|
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
|
|
|
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
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....
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...
|
|
|
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)
|
|
|
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
|
|
|
|