image processing - alpha

O

Oliver Wong

Hi
If two images with opacity 50% place over another, how to calculate
the final RGB?
thanks
from Peter ([email protected])

Traditionally, you would start with some background layer (which may be
completely white, completely black, completely transparent, or something
else), merge the first layer onto that, treat the result as a single layer,
and merge the second layer onto that. I.e. they're treated like the
transparent ink cells that cartoonists use for animations.

If you wanted two images to be merged with each other, you'd probably
want the bottom one to have 100% opacity, and the top one to have 50%
opacity.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,079
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top