convert.1.txt
changeset 2 4d3e5debb377
parent 0 c66307cca740
equal deleted inserted replaced
1:840aebd2e31e 2:4d3e5debb377
     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{%}