Forum Moderators: not2easy
I was browsing yesterday and right clicked a few images to check their properties - While doing this I noticed that many big sites have started to use PNG's(including WW). I was under the impression that PNG's were not supported on some browsers? and that GIF.s and JPEG's were the 'only' safe formats.
It would be a relief to know that I can use PNG's - anything that holds it's layer and frame info and is vector based is going to save me time
Ta
Limbo
I think most modern browsers support PNGs. Support of alpha channels is not that well supported though.
I've considered moving to png before, but the advantage just isn't there.
In some cases you'll find pngs are smaller at default settings, but the advantage is minimal. If you're a photoshop user and really concerned with image size you'll always get a smaller image if you use gifs and manually delete colours which look redundant to your eyes.
There are greater problems with bad colour interpretation in pngs than there are with gifs. I haven't done much research on the subject beyond just trying stuff -- it may be a problem with Photoshop rather than with browsers. But you'll get much more consistent colour with gifs.
It's really too bad because pngs seemed to have such potential, but based on my own experience I don't see them gaining widespread acceptance.
If you consider all the things PNG wants to do - 256 levels of transparency and embedded gamma information, plus animation and handle all the compression issues as well, you can see how big the job is.
It's a very long term thing, but I do expect it will arrive in full bloom some day.
Netscape and Safari support it though... but until IE does.. gah.
At least macromedia director & flash recognize the transparencies.... it makes designing so much nicer :)
Anyways, I'm done with my speel :)
If you consider all the things PNG wants to do - 256 levels of transparency and embedded gamma information, plus animation and handle all the compression issues as well, you can see how big the job is.
That's silly. The libpng library already supports all that and apparently has a quite liberal license. There are no obstacles to linking against it, even on IE.
From [libpng.org...] :
The Contributing Authors and Group 42, Inc. specifically permit, without
fee, and encourage the use of this source code as a component to
supporting the PNG file format in commercial products. If you use this
source code in a product, acknowledgment is not required but would be
appreciated.
<added> The animation is not done in .png; it is done in .mng </added>
SVG (scalable vector graphics, I think) is the 'up and coming' web-vector format... but that's nowhere near widely supported yet.Isn't this for creating simple things like graphs dynamically, quite easily? I was under the impression that creating fully blown graphics was a feat.
Have I mis-interpreted SVG?
I made a page full of screen caps (for a help page), and they display perfectly in IE as well as NS.
PNG files are great for screen captures - they support 16m colors like JPG without the artifacting and color distortion and better than a GIF that just supports 256 colors.
I use indexed PNGs on all my sites and have had no problems.
The only problem with using RGB PNGs is alpha tranparency. IE does not yet support alpha tranparency. (Actually, there is a workaround. [alistapart.com])
It is so annoying to know that I can do so many cool effects with shadows and the like, but that I can't implement them because of IE's 95+% usage.