This code takes pics from your camera that have been dumped to your hard drive, but not reformatted for the Web in terms of pixels or dpi, resizes them, re-dpis them, and uploads them to Amazon S3. Note that the size is pretty damn arbitrary.
convert is the ImageMagick command-line utility; amazon ships with my utility_belt gem.












