Welcome, Guest |
You have to register before you can post on our site.
|
|
|
mutually exclusive layer masks |
Posted by: jonnie45 - 06-10-2021, 11:37 AM - Forum: General questions
- Replies (4)
|
 |
Hi, newbie to the forum here.
I wondered if anyone could advise on the following?
I am using artistic effects that apply to the whole layer rather than ones that can be used with a paint tool.
I want to style the artistic effect differently in different parts of the image - for example an artistic effect might have a stroke direction - an 'angle' -
so "on this part of the image strokes should be at 30 degrees and over here strokes should be at 60 degrees".
So the problem is how to vary effects that apply to the whole layer with regional variations by changing a variable or setting supplied in the artistic filter, I am using 'stroke angle' for an example but it could be any variable that can be changed on an artistic effect that is applied to the whole layer.
The method I have been experimenting with is to make say 5 layers and apply the "whole layer" artistic effect to each layer in turn, each time with a different stroke angle.
So I may have
layer0 - stroke angle of 0 degrees applied to artistic effect
layer1 - stroke angle of 30 degrees applied to artistic effect
layer2 - stroke angle of 60 degrees applied to artistic effect
and so on....
I then added a layer mask to each layer.
This means I can achieve the result I want and I can see the result live in the main layer as I use say the rubber tool to remove areas of layer mask for each layer, if I rub out the layer1 mask at one location I can have a stroke of 30 degrees and then if I rub out the layer2 mask in a different place then I see the 60 degree stroke coming through.
Great it works !!! But.........
The only problem is that for this to work well I need to make sure that my layer masks are mutually exclusive from one another - if I use the rubber tool on one layer mask at position A then I must not use the rubber tool at that same position in any of the other masks otherwise I will not have the desired result that for any pixel the contribution comes from only one of my layers - in my case the layers in question are mode=dodge so I do not get the desired effect if more than one layer is allowed to contribute to any single pixel.
I cannot use modes on the layers themselves to combine them in different ways because they all have to be "dodge".
So it seems that the only way I can get the mutual exclusivity I want is to have some "magic" option that views my five layer masks as being part of a set and if a pixel in any one of these masks is transparent then the same pixels in all the other masks must be opaque - if I use the rubber tool to make a particular pixel transparent then the other layer masks must all react automatically and set that same pixel opaque.
It could be progressive, for instance perhaps the pixel at a particular position in the image might have transparency in the layer masks as follows 0.6, 0.2, 0.1, 0.1, 0.0 - ie adding up to 1.0 at all times - so if I used a rubber tool I might use multiple strokes to progressively make layer 5 dominant in a particular region but always so that the contribution from the other layers is decreased accordingly.
I can't help thinking it must be a common wish to use an artistic effect that applies to the whole image and to wish to use layers each with the same image but a different setting for the artistic effect and then to want to paint on masks to determine which setting is used in different places on the screen?
Is there any kind of mask that can take say 5 layers as 'input' be painted on freehand with facilities to allow only one layer as output or to blend the contribution from each layer in a sensible way?
Conceptually a mask where each pixel has a value 1 to 5 to indicate layer and so can only accept one layer as input for any particular pixel? -
Or a mask system were five channels are blended according to how I paint on the mask but the result is only a weighted average of the 5 layers, perhaps a system that is progressive so that if I wish to have layer 5 dominate in a particular area then repeated strokes of a tool on the mask in that area will progressively weight more and more to layer 5 with the other other layers diminishing in their input at every stroke?
Its not an easy one to describe
Thanks in advance
Jon
|
|
|
correctly opening Tiff with layers |
Posted by: scatolabox - 06-09-2021, 06:11 PM - Forum: General questions
- Replies (5)
|
 |
Hi you all,
Many colleague of mine work with TIFF files, in which (opening them with some apps like Photoshop) you can find several layers (brightness, shades, paints etc.).
How can I open them correctly and save them again with similar information?
I didn't find any working plugin. Even this one https://wiki.panotools.org/Multi-Layer_T...h_the_Gimp does not work with my version (2.10).
What can I do?
Thank you very much in advance
S
-------------- I searched this question through the forum without result - then sorry if I didn't find an already answered topic. Or if the section is wrong!
|
|
|
colors |
Posted by: DaytonaSteve - 06-09-2021, 03:27 PM - Forum: General questions
- Replies (6)
|
 |
OK I must be the dumbest person on the planet but I've been using photoshop for years and wanted to get off the Adobe train. I wanted to try Gimp and I can't even change the color of the background. I created a new "canvas" it was white, I wanted to change the color. I selected all and went to the color picker, changed color, nothing...I added some text in the canvas. I believe I have it selected. Chose a different color, tired both foreground and background. Nothing. Wouldn't change. Please help...
|
|
|
Is the internet down? |
Posted by: Ofnuts - 06-08-2021, 11:12 AM - Forum: Watercooler
- Replies (6)
|
 |
Is it me or are there general internet problems today? I have had problems accessing Reddit, StackOverflow, Gimp.org, and some others. Doesn't look like my own internet (mostly errors from the servers themselves, and doesn't work either on my work PC which only sees the internet through a heavily filtered VPN...).
|
|
|
Script to auto-rotate images to align with text flow? |
Posted by: bkpsusmitaa - 06-08-2021, 11:03 AM - Forum: Scripting questions
- Replies (8)
|
 |
Tried search string on the forum:
Quote:Script auto rotate image text flow document
Had been thinking for many years: if an image of a text document could automatically be oriented along the textflow.
I self-learnt some programming out of curiosity. Very elementary programs. I don't have the patience, persistence, or hyper-focus of a programmer.
Had been thinking in terms of drawing a set of two parallel lines apart from the middle towards the edges, and the maximum number of longest uninterrupted straight line segments that could be drawn between those two parallel lines (from one edge of an image to the opposite edge is quite superfluous) could help auto-orient a document along the direction of the text flow?
Perhaps this is the reason why OCR programs such as Abbyy Finereader could automatically rotate scanned documents?
But have left using Doze and associate programs. Have gscan2pdf and gimagereader. They are nothing compared to Abbyy of 10 years back. But who knows, in the name of PROPRIETARY, what malware/spyware/trojan might have they been inserting, in addition to regular paid upgradation of Doze and anti-virus, anti-malware and what not software? So I am better off with bits and pieces solution and better safety and security with Free and OSS system.
Is there a script to achieve this very purpose? Auto-rotate such a file to horizontally align the direction of the flow of text with the help of a scirpt? Or any other tool?
Any advice please?
In the end another request: if the post isn't found appropriate for this forum, may I please be sent a copy before deleting it.
|
|
|
Failing on loading script Mac OS X: gimp_check_updates_callback failed |
Posted by: frankytanky - 06-07-2021, 11:46 PM - Forum: Scripting questions
- Replies (1)
|
 |
Hi, I had a script that was working for me on Mac OS X
Code:
franky@frank ~ % /Applications/GIMP-2.10.app/Contents/MacOS/gimp -i -b "(let* ( ( image (car (file-png-load 1 "\\""/Users/franky/Desktop/image.png"\\"" "\\""/Users/franky/Desktop/image.png"\\"") ) ) (drawable (car (gimp-image-active-drawable image) ) ) ) (plug-in-colortoalpha 1 image drawable '(0 0 0) ) (gimp-file-save RUN-NONINTERACTIVE image drawable "\\""/Users/franky/Desktop/image2.png"\\"" "\\""/Users/franky/Desktop/image2.png"\\"") ) " -b "(gimp-quit 0)"
To run color to alpha, I was working on some shell scripts with a python virtual environment in it this morning and something I've done seems to have confused Gimp - maybe in regards to Python version?
I now get this error when I try to run it:
Code:
GIMP is started as MacOS application
gimp_check_updates_callback: loading of https://www.gimp.org/gimp_versions.json failed: Operation not supported
batch command experienced an execution error:
Error: eval: unbound variable: \/Users/coopermor/Desktop/Armato-Side-Table_render_shadow_difference.png\
Any ideas? Thanks so much! Happy to provide any additional details that are helpful.
|
|
|
|