It is currently Fri Apr 19, 2024 10:41 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 1:04 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
Hi all!

I'm working on a series of articles that attempt to explain how GIMP's layer modes work and which situations you might use them in. I've just published the first article here:

GIMP's Layer Modes (Somewhat) Demystified – Part 1: Normal to Addition

If you have any additional information on how any particular layer mode works, or you have specific uses that I didn't mention for any of the modes in the article, please let me know. This is a group learning experience. :)

Keep Calm and GIMP On!

_________________
Studio Dalio Digital Art and Photography


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 2:36 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
That's an excellent idea. It's been trial and error with me so far though I have got used to overlay, multiply and colour now and to a lesser degree, grain merge. I couldn't explain them though.


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 3:03 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Aug 28, 2012
Posts: 3062
Location: Idk where I am.
Heh I was gonna do something like this, but I wasn't sure how to do it.
I guess you figured it out! xD

_________________
Image
Reality is a lovely place...But I wouldn't wanna live there.


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 4:59 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
In "dissolve" mode, Gimp takes a pixel at random on either layer, with a probability to take the pixel from the top layer equal to the opacity of that layer.

_________________
Image


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 5:12 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
ofnuts wrote:
In "dissolve" mode, Gimp takes a pixel at random on either layer, with a probability to take the pixel from the top layer equal to the opacity of that layer.


Thank you for mentioning that. I just took another zoomed in look at Dissolve mode. What looks like a pixel chosen from the lower layer is actually a transparent pixel in the upper layer. It's easier to notice if you hide all lower layers or have only one layer. The lower the opacity, the more transparent pixels you get.

I guess what you're saying is that the percentage of non-transparent pixels is the opacity percentage?

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 5:20 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
ofnuts wrote:
In "dissolve" mode, Gimp takes a pixel at random on either layer, with a probability to take the pixel from the top layer equal to the opacity of that layer.

More specifically, the probability is equal to the opacity of the pixel after the pixel's original opacity, the layer's opacity setting, and the layermask have all been applied.

Attachment:
SSdissolve.png
SSdissolve.png [ 52.81 KiB | Viewed 7634 times ]

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 5:32 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
saulgoode wrote:
ofnuts wrote:
In "dissolve" mode, Gimp takes a pixel at random on either layer, with a probability to take the pixel from the top layer equal to the opacity of that layer.

More specifically, the probability is equal to the opacity of the pixel after the pixel's original opacity, the layer's opacity setting, and the layermask have all been applied.

Attachment:
SSdissolve.png


Cool example! Mind if I steal that?

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 6:06 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
DebiDalio wrote:
Cool example! Mind if I steal that?

Of course I don't mind.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 8:22 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4736
saulgoode wrote:
ofnuts wrote:
In "dissolve" mode, Gimp takes a pixel at random on either layer, with a probability to take the pixel from the top layer equal to the opacity of that layer.

More specifically, the probability is equal to the opacity of the pixel after the pixel's original opacity, the layer's opacity setting, and the layermask have all been applied.

Attachment:
The attachment SSdissolve.png is no longer available


Indeed...

Attachment:
Portman-dissolve.xcf [472.5 KiB]
Downloaded 352 times

_________________
Image


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 8:53 pm  (#10) 
DebiDalio wrote:
Hi all!

I'm working on a series of articles that attempt to explain how GIMP's layer modes work and which situations you might use them in. I've just published the first article here:

GIMP's Layer Modes (Somewhat) Demystified – Part 1: Normal to Addition

If you have any additional information on how any particular layer mode works, or you have specific uses that I didn't mention for any of the modes in the article, please let me know. This is a group learning experience. :)

Keep Calm and GIMP On!

Hi, these threads and some of the included links might be of some use to you in preparing your documents.
http://www.gimpchat.com/viewtopic.php?f=8&t=8405
http://www.gimpchat.com/viewtopic.php?f=8&t=6538
http://www.gimpchat.com/viewtopic.php?f=4&t=5131
http://en.wikipedia.org/wiki/Blend_modes
http://www.northlite.net/ps/blend.htm
http://photoblogstop.com/photoshop/photoshop-blend-modes-explained


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Nov 20, 2013 11:12 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
fluffybunny wrote:


Thanks! I'll check them out.

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Thu Nov 21, 2013 12:40 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
I just updated the Dissolve section with Saul's example. (Thanks!)

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 12:28 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
Hi all!

I just posted Part 2 on GIMP's layer modes here:

GIMP's Layer Modes (Somewhat) Demystified – Part 2: Darken Only to Subtract

Please let me know if you notice anything incorrect or missing, or if you know of any good examples of usage for any of these layer modes.

Keep Calm and GIMP On!

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 1:35 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
Thanks, DebiDalio. Your explanation is very usefull. I learned a lot of new tips.

_________________
Image


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 1:43 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
Carlos Diniz wrote:
Thanks, DebiDalio. Your explanation is very usefull. I learned a lot of new tips.


You're welcome! I'm learning a lot myself as I write these articles.

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 2:58 pm  (#16) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
DebiDalio wrote:
Hi all!
Please let me know if you notice anything incorrect or missing, or if you know of any good examples of usage for any of these layer modes.


About darken only
Its effect is not so complicate as you describe , the use is the most intuitive and simple BUT very difficult to understand if the top layer is solid grey or even a greysh gradient as in your example

I prefer another example
1 Get a picture of a intense but cloudless sky as BG layer
2 on top add a picture with very dark clouds AND with the sky colour BRIGHTER then the sky in the layer below

In darken only mode this combination will show the sky of the BG layer combined with the dark clouds from the top layer



So Darken only do not modify colors, IT only totally (totally at 100% opacity) REPLACE colors , if and when the colors above are darker
If are not darker then will not do anything at all

----------------------------------------------------------------------------

BTW Whiten Only does just the opposite !

so you may use to do the opposite : to add white clouds (on Top) to a dark sky (below)

PS
I hope my example clear but you have VERY good motives to be confused because linguistic reasons:
We read colors in a very different way then our computer

As example
1)White and Black may be the same identical "colour" as for hue and saturation , with only different luminosity

2)Blue will always look to our eye much darker then yellow , but for the computer they may have identical lightness ,more same yellow may be even darker of some blue even if our eyes would never believe this possible

3) confront Red Vs Black , White ,Grey and Brown ; they may have all identical hue and only different saturation (for grey) or only different luminosity (for white, black , red ...and even brown)

I hope to have not confused you more ... there is no way to know the hue or saturation of a pure black or white if not using the color eyedropper because any "color" will become pure white if brighten to the max, pure black if darkened to the max, only between this extremes hue and saturation may become perceptible to our eyes

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Last edited by PhotoComix on Wed Dec 04, 2013 3:45 pm, edited 2 times in total.

Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 3:14 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
Thank you for that example, PhotoComix. I tried a combo of two sky photos and saw the effect you're talking about. It's true that if the colors of the two layers are very close (for example, both layers are in the blue range), what you essentially get is the darker colors from the upper layer superimposed on the lower layer.

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Wed Dec 04, 2013 4:11 pm  (#18) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
DebiDalio wrote:
It's true that if the colors of the two layers are very close (for example, both layers are in the blue range), what you essentially get is the darker colors from the upper layer superimposed on the lower layer.


yes ,in that case the trick may be stretch the contrast on the top layer to get the sky more washed out then the sky in the bg

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Tue Dec 17, 2013 5:00 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Nov 06, 2012
Posts: 78
Location: Texas
Hi all!

I just posted Part 3 on GIMP's layer modes here:

GIMP's Layer Modes (Somewhat) Demystified – Part 3: Grain Extract to Value

Please let me know if you notice anything incorrect or missing, or if you know of any good examples of usage for any of these layer modes.

Keep Calm and GIMP On!

_________________
Studio Dalio Digital Art and Photography


Top
 Post subject: Re: An Explanation of GIMP's Layer Modes
PostPosted: Tue Dec 17, 2013 5:09 pm  (#20) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Thanks DebiDalio, I hope you have a great holiday season!

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Shortcuts to 2.10 documentation re: Layer & Layer-group modes

0

No new posts Attachment(s) Experimenting with layer modes

6

No new posts Using two images and Layer Modes

1

No new posts Attachment(s) Playing With Layer Modes

3

No new posts Attachment(s) New layer modes in LayerFX-2.10 for testing.

9



* Login  



Powered by phpBB3 © phpBB Group