One advantage of PNG is full alpha transparency, which allows you to have smooth edges and shadows in in web designs. The main disadvantage is that it only supports lossless compression, which for complex images means a very large file size.
JPEG on the other hand offers great compressibility for complex images, but no transparency.
And finally, I've seen Flash elements (example here) with highly compressed images that also have smoothed edges and shadows. I don't know much about Flash and have no idea how this is accomplished. This is basically the effect I would like to be able to do - a large, complex image with transparent and/or shadowed edges.
My questions are:
Are there flash specific layering tricks being used here? Are the shadows generated or rasterized into the image as I would do with a PNG.
I'm thinking progressive enhancement to improve loading speed of certain design elements. If this doesn't exist, would it be feasible to write it?
It's been hard for me to find specific info on this. DjVu might be a candidate? Should we be pushing browser makers to support another format?
Doing everything in Flash or accepting enormous file sizes are the current options. Some other possibilities:
Thanks for your help!
One advantage of PNG is full alpha transparency, which allows you to have smooth edges and shadows in in web designs. The main disadvantage is that it only supports lossless compression, which for complex images means a very large file size.
You are wrong. You can use PNG with lossy compression (8-bit indexed colors) and alpha transparency.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With