Previous | Next --- Slide 27 of 63
Back to Lecture Thumbnails
JavaSwing

Is over commutative if both alpha values are 0.5?

allai5

Is it possible for one image A to have multiple opacities within itself?

rilakkuma

How do we handle the "over" case?

heethesh

@allai5, image A is just a collection of RGBA pixels, so it can definitely take multiple alpha values. However, from what we did in DrawSVG, looks like each SVG element has just one color (alpha) field.

outousan

@JavaSwing I don’t think so if you use the premultiplied formula