I know it's possible, because sites like MySpace and Photobucket do it. I looked through multiple functions related to the process:
imagecreate(), imagejpeg(), imagecreatetruecolor(), and so on, but I can't put it all together.
Anyway, anyone know how it's done or got a lint to a tutorial or something? Thanks.