Mark Rogers mark@quarella.co.uk
Instead I have a related question: Is there a way with imageMagick (or something else, for that matter, but commandline based) to shoehorn an image into a fixed size and shape, using a specified background colour where the height:width ratio of the image differs from the desired destination size?
I think you need to use the < operator on the resize and mogrify's -background option.
If you want to use netpbm, look at pamscale and pnmpaste.
Thanks for noting about convert and uploaded files. Good ideas.
Hope that helps,