PNG transparancy in IE6 with no scripts or hacks

This is a discussion on PNG transparancy in IE6 with no scripts or hacks within the Graphics & Flash forums, part of the Web Design category; Hmmm, i just stumbled over this screencast PNG-8 Alpha Transparency (screencast) :: Brenelz's Web Development Tips :: Winnipeg Web Development ...


Reply
 
LinkBack (2) Thread Tools Display Modes
Old 5th February 2009, 10:00 AM   2 links from elsewhere to this Post. Click to view. #1
Member
 
bocaj's Avatar
 
Join Date: Jan 2009
Posts: 186
Thanks: 0
Thanked 1 Time in 1 Post
bocaj is on a distinguished road
Default PNG transparancy in IE6 with no scripts or hacks

Hmmm, i just stumbled over this screencast

PNG-8 Alpha Transparency (screencast) :: Brenelz's Web Development Tips :: Winnipeg Web Development

It shows how to use a transparent png, without any scripts/hacks. And it displays pretty much fine in IE6.

I don't know how many of you knew this, i didn't... so i figured it might be useful to some people.
bocaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 5th February 2009, 10:07 AM   #2
admin
 
WelshStew's Avatar
 
Join Date: Dec 2008
Posts: 1,622
Blog Entries: 3
Thanks: 10
Thanked 24 Times in 23 Posts
WelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond repute
Expertise: (X)HTML / CSS
Experience: Professional
Default

Sweet, thanks for pointing this out. I have know about this for a little while, having written about it on the other forum...

edit, I first learnt about this from sitepoint: http://www.sitepoint.com/blogs/2007/...-clear-winner/
WelshStew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 5th February 2009, 10:07 AM   #3
Member
 
MinatureCookie's Avatar
 
Join Date: Jan 2009
Location: Hampshire, UK
Posts: 221
Thanks: 3
Thanked 5 Times in 5 Posts
MinatureCookie is on a distinguished road
Expertise: (X)HTML / CSS
Experience: Professional
Default

Ahhh, I didn't know this... There must be some draw-back to it though, otherwise PNG-24 wouldn't have been made at all.
I don't like the way that man says "Ping" for "PNG" :P

Apparently it can't handle alpha at all, it can only handle 100% transparent or 100% there. Which leaves edges rough and unsightly.
At least that's what I'm seeing? :P

Apparently it can do more, but I can't get it done with GIMP... And should we really be giving users less-pleasing images just to satisfy those using IE6?
__________________
WebX Design

Last edited by MinatureCookie; 5th February 2009 at 10:18 AM..
MinatureCookie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 5th February 2009, 10:11 AM   #4
admin
 
WelshStew's Avatar
 
Join Date: Dec 2008
Posts: 1,622
Blog Entries: 3
Thanks: 10
Thanked 24 Times in 23 Posts
WelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond reputeWelshStew has a reputation beyond repute
Expertise: (X)HTML / CSS
Experience: Professional
Default

This is the video summarised for you:

Quote:
Originally Posted by welshstew-webforums-dayz-jun-2008
There is a way to produce portable network graphics (png’s) so that they render correctly across all browsers without the need to employ complicated hacks and ie filter-based solutions or heavy javascript files, such as the twin helix approach or the supersleight.

Most times when a png is exported it is done so as a png32, which provides lossless compression and allows for more complex settings. All the goodies we love when designing a site.

However, within Fireworks you can also export png’s as a png8, which provides a palette based colour model (like gif’s) and which many believe only offers a 1 bit transparency option. However, if we play with some of the settings we are able to offer similar semi-transparency colors as a png32.

So if you use the export wizard and set it to export as png8 with indexed transparency, you will see the palette colours have been flattened and you are offered one, single transparent colour.

However, if you change these settings to alpha transparency, you will notice a few small “chunks” cut out of the some of the palette colours. These are the new semi-transparent colours.

The only downside is that complicated fade effects on images are not seen on IE5.5 & 6, but it still is a transparent image.

This works for IE5.5 and above (I haven’t tested lower than that), FF, Safari and Opera, so it’s a winner all round.

Also, the generated image files are smaller, which will increase delivery time, and , more importantly, there is no need to implement hacks, javascript files or any other third party coding, making the total delivery package smaller and therefore increasing the speed of your site.

Hope the above helps you all.
WelshStew is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 5th February 2009, 01:15 PM   #5
supermod
 
shalom_m's Avatar
 
Join Date: Jan 2009
Location: Or-Yehuda, Israel
Posts: 397
Thanks: 0
Thanked 16 Times in 16 Posts
shalom_m has a spectacular aura aboutshalom_m has a spectacular aura aboutshalom_m has a spectacular aura about
Expertise: (X)HTML / CSS
Experience: Quite Good
Default

Thanks bocaj,

I did not come across this one before.
shalom_m is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Old 7th February 2009, 01:03 PM   #6
Member
 
bonnit's Avatar
 
Join Date: Jan 2009
Location: Kent, UK
Posts: 147
Blog Entries: 4
Thanks: 0
Thanked 1 Time in 1 Post
bonnit is on a distinguished road
Default

cheers for the heads up, i dont remember seeing that on the other site so thanks
bonnit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!twitter
Reply With Quote
Reply

Tags
hacks, ie6, png, scripts, transparancy

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://webprocafe.com/graphics-and-flash/277-png-transparancy-in-ie6-with-no.html
Posted By For Type Date Hits
PNG-8 Alpha Transparency (screencast) :: Brenelz's Web Development Tips :: Winnipeg Web Development This thread Refback 23rd March 2009 07:08 PM 8
Help! Transparent images are not transparent in IE6. This thread Pingback 21st March 2009 11:20 PM 14