interesting . . . I was thinking of a similar idea last year, using nginx's image filter module (libgd) http://wiki.nginx.org/HttpImageFilterModule