I don't do a whole lot with images, and when I do, I simply go to php.net and use the online documentation to do what I need it to do.
Sorry I'm not much help in that department.
Perhaps a google search will help a little bit more than I did.
Moderators: egami, macek, gesf