Enjoy an ad free experience by logging in. Not a member yet?
Register .
11-10-2008, 08:58 PM
PM User |
#1
Regular Coder
Join Date: May 2008
Location: Oxford, UK
Posts: 422
Thanks: 14
Thanked 27 Times in 27 Posts
Transparent image issue
I am having some problems with image transparency in IE...
You can see my problem in the attached image.
Any suggestions of how I can fix this?
I've had a google around about transparency and IE but the image I create IS transparent, but just loses quality!
Last edited by brazenskies; 11-10-2008 at 09:00 PM ..
11-10-2008, 09:01 PM
PM User |
#2
Regular Coder
Join Date: May 2008
Location: Oxford, UK
Posts: 422
Thanks: 14
Thanked 27 Times in 27 Posts
IE 6 only I think
11-10-2008, 09:01 PM
PM User |
#3
Regular Coder
Join Date: Jan 2008
Location: Winston-Salem, NC
Posts: 938
Thanks: 10
Thanked 190 Times in 187 Posts
Link to page? What version of IE? What's the image format (GIF, PNG-8 or PNG-24)?
11-10-2008, 09:03 PM
PM User |
#4
Regular Coder
Join Date: Jan 2008
Location: Winston-Salem, NC
Posts: 938
Thanks: 10
Thanked 190 Times in 187 Posts
11-10-2008, 09:04 PM
PM User |
#5
Regular Coder
Join Date: May 2008
Location: Oxford, UK
Posts: 422
Thanks: 14
Thanked 27 Times in 27 Posts
sorry, it's png8
I cant link to the page as it's password protected, although if you want to take the 30 seconds to login it it would be appreciated
11-10-2008, 09:06 PM
PM User |
#6
Regular Coder
Join Date: May 2008
Location: Oxford, UK
Posts: 422
Thanks: 14
Thanked 27 Times in 27 Posts
Quote:
Originally Posted by
msuffern
That was somtrhing I tried in the past, but my images are actually showing transparency fine, just losing the quality.
I'll take a closer look at it again
11-10-2008, 09:08 PM
PM User |
#7
The Apostate
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
IE6 cannot render alpha transparency, only index. Because of this, an images which have pixels with an opacity value between 0 and 1 exclusive, the pixel will display fully transparent and you will get this 'jagged' effect. Have you considered not using transparency or just leaving this 'low-fi' experience in place?
11-10-2008, 09:10 PM
PM User |
#8
Regular Coder
Join Date: May 2008
Location: Oxford, UK
Posts: 422
Thanks: 14
Thanked 27 Times in 27 Posts
I need the transparency as my script loops through some db values and prints out the images for each record, and the background fades as you go down the page.
I'll have a think and reconsider.
Thanks
Jump To Top of Thread
Thread Tools
Rate This Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT +1. The time now is 03:18 PM .
Advertisement
Log in to turn off these ads.