next up previous contents index
Next: Waiting for each other Up: Animated Images Previous: Animated images as layered   Contents   Index

Animated images as multipart PNGs

Server-Push is a neat way to generate animated images. You start with

HTTP/1.0 200 OK
Server: Apache/1.2b6
MIME-Version: 1.0
Content-Type: multipart/x-mixed-replace;boundary=EOM

--EOM
Content-Type: image/png
and then send the first PNG-image. At the end you ship
--EOM
Whenever you want to update the image you send again
Content-Type: image/png
then the image and then the boundary
--EOM


next up previous contents index
Next: Waiting for each other Up: Animated Images Previous: Animated images as layered   Contents   Index
Oliver Kirchkamp