Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 62358

Programming related to the visual representation of information on computer screens.

1 vote

How to calculate alpha for n channels, so the sum equals 1 (100% coverage)?

This is the result of 1 / log(n). Using "Double Float" for calculations, alpha values in pictures are rounded to 2 decimal places. Black on White: White on Black:
madneon's user avatar
  • 295
1 vote
2 answers
347 views

How to calculate alpha for n channels, so the sum equals 1 (100% coverage)?

Having "n" number of overlaying channels (bitmaps in the same place, layers etc.) how to calculate required alpha for each of them, so they "hide" background completely? Each layer can have equal val …
madneon's user avatar
  • 295