It is currently Sun Jun 30, 2024 4:58 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PARTIALLY SOLVED How does it work on layer blendng mode "Normal"
PostPosted: Sat May 23, 2020 12:22 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 19, 2020
Posts: 7
GIMP Version: 2.10.18
Operating System: Windows
OS Version: Windows 10
GIMP Experience: Intermediate Level



I am confusing because "Normal" mode of layer blending in Gimp 2.10 is strange for me.
It is different from "Normal" mode of Gimp 2.8 which is based on the algorithm of Porter-Duff's over operation.

How is the "Normal" mode calculated in Gimp 2.10?

In the following, "LegacyOver" denotes the operation of "Normal" mode in Gimp 2.8
and "NewOver" denotes the operation in Gimp 2.10.

1) Gimp 2.8
fg RGBA(0,0,255,255) (Opacity 25%) "LegacyOver" bg RGBA(0,0,0,255)(Opacity 50%) = actual result1 RGBA(0,0,101,159)

2) Gimp 2.10
fg RGBA(0,0,255,255) (Opacity 25%) "NewOver" bg RGBA(0,0,0,255)(Opacity 50%) = actual result2 RGBA(0,0,170,159)

Additionally, about "Additon" mode of layer blending, I feel very strange for the behavior of Gimp 2.10 if background opacity is 0%. I also feel strange for the behavior of Gimp 2.8 when background opacity is not 0% and i posted this question as another topic.

Gimp 2.8 (Not the Legacy Mode of Gimp 2.10)
3) fg RGBA(0,0,255,255) (Opacity 100%) "LegacyAdd" bg RGBA(0,0,0,255)(Opacity 0%) = actual result3 RGBA(0,0,0,0)
4) fg RGBA(0,0,255,255) (Opacity 100%) "LegacyAdd" bg RGBA(0,0,0,255)(Opacity 1%) = actual result4 RGBA(0,0,127,2)

Gimp 2.10 (Legacy mode of Gimp 2.10 has the same behavior in the following)
5) fg RGBA(0,0,255,255) (Opacity 100%) "NewAdd" bg RGBA(0,0,0,255)(Opacity 0%) = actual result5 RGBA(0,0,255,255)
6) fg RGBA(0,0,255,255) (Opacity 100%) "NewAdd" bg RGBA(0,0,0,255)(Opacity 1%) = actual result6 RGBA(0,0,255,3)

Note that opacity(%) is different a little between Gimp 2.10 and 2.8.
For example, the result of 50% opacity of value 255 is 128 in Gimp 2.10 while the result is 127 in Gimp 2.8. It is the little things but I prefer 127 to 128 for 50% opacity of value 255.


Last edited by firstmimic on Sat May 23, 2020 4:18 am, edited 2 times in total.

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: How does it work on layer blendng mode "Normal" in Gimp 2.10?
PostPosted: Sat May 23, 2020 3:57 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 19, 2020
Posts: 7
I understand it.
I changed "Composite Space" into "RGB(perseptual)" in Gimp 2.10
and got the same result of Gimp 2.8.


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) layer mode preview stopped working

3

No new posts Attachment(s) How does it works on Layer Blending Mode "Add" with Alpha Channel?

4

No new posts Attachment(s) Default vs. Legacy: "Subtract" Layer Mode: Different results

8

No new posts Attachment(s) GEGL Starfield - Partially Inspired by David Wood's fireworks guide

16

No new posts BACK TO NORMAL

8



* Login  



Powered by phpBB3 © phpBB Group