Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/19/2020 in all areas

  1. This is correct behavior, believe it or not. Or, if you don't believe it's "correct", then it is certainly intentional / "by design." This controversy probably stems from underlying math that goes into alpha compositing -- or, we might call it layer compositing, which involves blending the layers together to form the final output. The "final output" is 1 bitmap ("layer") that either goes to the screen, or to a file that is encoded with a single-layer container format such as PNG. If you blend two colors together, X and Y, and they both have an alpha of 0 but the color channels are different ... what should the resulting RGB values be? In the math, you'd get a divide-by-zero if you wanted to output anything other than 0 for the color channels. Ultimately, blending together two invisible colors results in another invisible color. RGB would more properly be encoded as "null", but we can't encode that, so we get zeros (black). For consistency, single layer images still go through this process. Otherwise you'd have color channel preservation sometimes, but not always, without a clear reason for it. At least, that's how I remember the decision. It's been a very long time since this issue has come up, so I may not be remembering correctly. And, this may not be the right design decision anymore. In any case, you're trying to put information into the color channels. PDN just isn't currently equipped to preserve this -- once you have more than 1 layer, there's no good way to preserve the color channels through the layer compositing process. The math just doesn't work out. It never has, at least not in Paint.NET.
    1 point
  2. Russian-language jargon will also be incomprehensible to English-speaking members. Otherwise, the impression of your vulgarity may arise.
    1 point
  3. Technically, if Alpha is 0, then R, G, and B are undefined.
    1 point
×
×
  • Create New...