I'm not sure if this is a PHP question. But I have no idea if or how this might be accomplished. But basically what I'd like to do is to create a page with some specially formatted text on it and from that generate a png (or maybe jpg). And I'd need to be able to set the width and height of the image to generate.
So basically, load up a web page with your browser set to something like 500x800 and then create a png of it.
Any ideas what I should look for to do something like this?