My service has both a web version and an iPhone version. On the iPhone, we ensure that users submit a square version by having it crop when it uploads. We are allowing uploads on the website as well, but we do not have such a feature.
As such, I would like to scale any uploaded image into fitting a 612 * 612 area. What would be the best way to accomplish this?
I am using Ruby / mini_magick