Anyone here familiar with ImageMagick syntax? I want this: Make the image square, and at most 300x300, but don't increase dimensions if it's smaller
Conversation
Notices
-
Eugen 💀 (gargron@mastodon.social)'s status on Tuesday, 29-Nov-2016 10:52:34 UTC
Eugen 💀
- drymer #en proceso de migrar and Cambiame a https://gnusocial.villanos.net/colegota repeated this.
-
Cambiame a https://gnusocial.villanos.net/colegota (colegota@quitter.es)'s status on Tuesday, 29-Nov-2016 14:35:20 UTC
Cambiame a https://gnusocial.villanos.net/colegota
@gargron you must add the "\!" to the size parameters to force square. Dimensions are always maximum.
convert dragon.gif -resize 64x64\! exact_dragon.gif
http://www.imagemagick.org/Usage/resize/#noaspect