I need to create a sprite that contains the favicon of 800+ websites.
My current issue is that I am generating much to many http request for images on one page and it has slowed down dramatically. I would like to find a program or script that will allow me to feed it the url of the image or the image it self and have it generate the sprite.
For example. The following Google url will pull the favicon from most all sites.
google.com/s2/favicons?domain=www.yahoo.com
I do not need to use the above but it's worth taking note of. It's a nifty way of retrieving the favicons.
The script or program would need to save each favicon and increment:
-16px 0px;
-32px 0px;
-48px 0px;
etc.
I've seen it done in javascript but that or PHP would be fine. If you know of any scripts or programs or anything at all that would be amazing.