473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

JS magic to enable PNG alpha channel on IE?

I have some graphics with transparent backgrounds that I would rather
have in PNG format than GIF, but I see that, after nine years, Microsoft
is still too lazy and/or stupid to implement PNG properly. However, I
have heard that there is a magical JS incantation that can somehow fix
this. Anybody know what I'm talking about?

--
John W. Kennedy
Read the remains of Shakespeare's lost play, now annotated!
http://pws.prserv.net/jwkennedy/Doub...ood/index.html

Oct 16 '05 #1
2 1617
"John W. Kennedy" <jw*****@attglobal.net> kirjoitti
viestissä:3m******************@fe10.lga...
I have some graphics with transparent backgrounds that I would rather have
in PNG format than GIF, but I see that, after nine years, Microsoft is
still too lazy and/or stupid to implement PNG properly. However, I have
heard that there is a magical JS incantation that can somehow fix this.
Anybody know what I'm talking about?


http://homepage.ntlworld.com/bobosola/pngtestfixed.htm
or if that isn't satisfactory, just google for "ie transparent png
workaround" and you'll get plenty of information. Btw, IE7 correctly
implements transparent pngs.

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.berkeley.edu/>
Kimmo Laine <an*******************@gmail.com.NOSPAM.invalid>
Oct 16 '05 #2
Kimmo Laine wrote:
"John W. Kennedy" <jw*****@attglobal.net> kirjoitti
viestissä:3m******************@fe10.lga...
I have some graphics with transparent backgrounds that I would rather have
in PNG format than GIF, but I see that, after nine years, Microsoft is
still too lazy and/or stupid to implement PNG properly. However, I have
heard that there is a magical JS incantation that can somehow fix this.
Anybody know what I'm talking about?

http://homepage.ntlworld.com/bobosola/pngtestfixed.htm
or if that isn't satisfactory, just google for "ie transparent png
workaround" and you'll get plenty of information. Btw, IE7 correctly
implements transparent pngs.


Thanks.
--
John W. Kennedy
"You can, if you wish, class all science-fiction together; but it is
about as perceptive as classing the works of Ballantyne, Conrad and W.
W. Jacobs together as the 'sea-story' and then criticizing _that_."
-- C. S. Lewis. "An Experiment in Criticism"
Oct 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Vincent Bouret | last post by:
Hi, I have read that Unicode (UTF-8) was not enabled by default in the mysql-4.1.0-alpha binaries. How can I enable it? What should I change in the code to do so? Thanks Vincent
0
by: Sam Fisher | last post by:
Hi, I'm currently using a ListView- control in my VB.NET app, that shall look nice and therefore contains some 24 bit icons (plus 8 bit alpha channel). But the icons are not displayed correctly in...
3
by: Bill English | last post by:
Does C# Support Alpha Channel Backgrounds? I have an image made in Photoshop, which has an alpha channel. I save it as a PNG file, then set the form's BG image to that file. Now it shows up fine...
3
by: instruo | last post by:
I'm using the System.Drawing.Bitmap class for loading a 32-bit bmp file which includes an alpha channel. The problem is, when it gets loaded (just using the Bitmap(string filename) constructor),...
0
by: morten skrubbeltrang | last post by:
According to KB article 822488 http://support.microsoft.com/default.aspx?scid=kb;en-us;822488 visual c# .net 2002 + 2003 has bug in rendering of alpha channel information when displaying a...
1
by: RicercatoreSbadato | last post by:
I have notice that my images have the value Image.Flags = 2 (HasAlpha). How Can I set the Flags to 1? I would like to eliminate the alpha channel... -- RicercatoreSbadato
2
by: Allan | last post by:
I've been trying to get this to work for days. I have a form which needs to be transparent (only the form background). On the form there are two images (32 bit PNGs) with alpha channel...
10
by: Lespaul36 | last post by:
I want to extract associated folder icons durring runtime and show them in a treeview control. The XP alpha channel messes that up. Is there a fix or a way to remove the alpha channel?
1
by: André Nogueira | last post by:
Hi there guys. I have some 32 Bits PNGs with an Alpha channel, and added them as icons on Toolbar buttons. However, the pixels affected by the Alpha channel (those that have some transparency)...
0
by: yxq | last post by:
Hello, I use the API ExtractIcon to get icon from Shell32, but the returned icon lost alpha channel, how get back the alpha channel? thank you. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.