What formats supporting animation are suitable for the web and what are the pros and cons of each.
|
It depends on what type of animation you need.
|
|||||
|
|
When overlaying images that contain a transparency on-top of animated images on layers beneath the image. You will find that PNG24 is the only image format where the anti-aliasing blends correctly with the background imagery. With GIF and PNG8 you are going to find that your edges are all chunky. Doesn't look very good, but really easy to miss. |
|||
|
|
|
This is in addition to Virtuosi Media's great answer: Apple has recently used still JPEG and PNG images for animation on their site. They use JavaScript to switch the images. It's a great technique if you don't have too many frames, need alpha transparency support, want the animation to be in place on the page and if you want wide browser support. The downside is download size and effort. It can also be interactive. If you scroll to the Smart Cover section of Apple's iPad page, you can see it in action: http://www.apple.com/ipad/features/ |
|||
|
|