Alpha transparent PNGs not displaying correctly in Mobile Safari

Posted by worksology on Stack Overflow See other posts from Stack Overflow or by worksology
Published on 2009-09-03T16:46:25Z Indexed on 2010/04/19 4:53 UTC
Read the original article Hit count: 493

Filed under:
|
|
|

I'm using some semi-transparent PNGs as background-images on various websites. These are usually something like a 1x1 image with a 30-percent opaque white layer.

I've noticed that Mobile Safari does not display them correctly, giving them a darker/grayish tint.

I've created a couple test pages to illustrate. View them both in your normal browser, and then on Mobile Safari, and you should see what I mean.

Is this a MobileSafari bug (I couldn't imagine so), or do I need to do something different, either to my pages or PNGs?

(Here's how I create the PNGs: In Photoshop, create a 1x1 transparent canvas. Draw a white rectangle in Layer 1. Set opacity to, say 30 percent, Save for Web as 24-bit PNG with transparency.)

© Stack Overflow or respective owner

Related posts about png

Related posts about mobilesafari