DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.26k stars 1.67k forks source link

Alpha transparency of PNGs breaks in IE when changing image's opacity. #253

Closed keeganbrown closed 13 years ago

keeganbrown commented 13 years ago

Although this behavior is not particularly surprising, it is still a little bit of a bummer, and I figured you might want to know, if you didn't already.

Tested in IE8. Reproduce by:

  1. Making a PNG with partial alpha transparency.
  2. Make an image in raphaeljs using this image as source.
  3. Add partial opacity through .attr() method, eg. opacity:0.5.
  4. Areas PNG where there was partial alpha should display now as matted on black as if it was a gif. Areas of 0 alpha should retain transparency.
DmitryBaranovskiy commented 13 years ago

Fixed in 2.0

keeganbrown commented 13 years ago

Most excellent. Thanks!