0
|
1 |
Scale maintaining aspect ratio, the image to fit in the resize box:
|
|
2 |
convert a.png -resize 50x50% b.png
|
|
3 |
(add a ! after % if you're not interest in aspect ratio.
|
|
4 |
(add -filter lanczos before -resize, if you want a lanczos resizer)
|
2
|
5 |
Crop:
|
|
6 |
-crop widthxheight{+-}x{+-}y{%}
|