MozillaZine

PNG in Mozilla Chrome

Tuesday June 22nd, 1999

Last week, Dawn Endico of mozilla.org managed to get PNG files working in Mozilla's chrome. Here's what Dawn had to say about it:

"Some people have recently expressed an interest in seeing PNG images used in the chrome. Over the weekend I tried this out with a linux nightly build from Friday (build #1999060717) and it worked great. I saw no difference between the png images and the normal gif images. (An attempt to do this with the m6 build drew vertical lines through the images.) The png files took up about 80K less disk space than the gifs.

Feel free to test drive this on other platforms.

I converted the png files with gif2png.

A screenshot.

A tarball of the res and chrome directories that contain all the png files and edited xul, css and html files where png is substituted for gif."


#1 Re:PNG in Mozilla Chrome

by Anon

Tuesday June 22nd, 1999 7:01 AM

Reply to this message

So is the PNG transparency level (alpha channel) supported in the chrome?

heh

#2 Re:PNG in Mozilla Chrome

by Anon

Tuesday June 22nd, 1999 3:45 PM

Reply to this message

...and progressive display?

#3 Re:PNG in Mozilla Chrome

by petejc <pete@mozdev.org>

Tuesday June 22nd, 1999 7:51 PM

Reply to this message

If only I can get pngs and jpgs working on my FreeBSD builds.

;-}

pete

#4 Re:PNG in Mozilla Chrome

by thelem

Wednesday June 23rd, 1999 11:45 AM

Reply to this message

Progressive display? Like with Progressive JPEGs?

This shouldn't be a problem for the CHROME.