OK guys, I have done really no image related operations with PHP, so be gentle. What I'm trying to accomplish is:
upload an image file from a POSTed form
make sure it's reasonably close to a 3:2 aspect ratio (within about 10%)
resize it to 480x320
save a copy using a naming convention that corresponds to a $SESSION value I already set. (like 0000234501_clear.png, where the numeric portion is the $SESSION value)
watermark (with transparency) and save another copy using the same naming convention as above with a different prefix (like 0000234501_watermarked.png
I don't want someone to just write the code for me, rather I'd like some suggestions as to what order things should be done, and preferred methods/functions for getting this accomplished. GD (2.0.34) is installed and available on the server with support for the filetypes I need. Any and all help would be appreciated.