[REBOL] Re: alpha image blending...
From: antonr:iinet:au at: 23-Jul-2003 14:12
Just a reminder of the alpha-channel bug.
Rebol/view shows the alpha channel of an image
only when the top-left pixel has a non-zero
alpha value.
Compare these two:
img1: make image! [2x2 #{ff0000ffff0000ffff0000ff} #{eeeeeeee}]
img2: make image! [2x2 #{ff0000ffff0000ffff0000ff} #{00eeeeee}]
view layout [image 100x100 img1 image 100x100 img2]
Both undoubtedly have alpha channel data on them,
but img2 has a zero alpha value on its top-left pixel.
Perhaps this has something to do with it.
Anton.