[magick-users] Best Way To Take An Image Of Any Ratio and Make A
Square Out Of It (1:1)
John Kopanas
kopanas at gmail.com
Tue Jan 15 12:28:10 PST 2008
Hey guys and gals,
This is what I am doing now to take an image of any ratio and make a 60x60
thumbnail out of it.
> convert -size 240x240 test.jpg -thumbnail x120 -resize '120x<' -resize 50%
-gravity center -crop 60x60+0+0 +repage test_60x60.jpg
I was wondering if their was a much simpler way of doing this?
Thanks :-)
--
John Kopanas
john at kopanas.com
Blog: http://www.kopanas.com
Conference: http://www.cusec.net
Twits: http://www.twitter.com/kopanas
More information about the Magick-users
mailing list