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