Scale maintaining aspect ratio, the image to fit in the resize box: convert a.png -resize 50x50% b.png (add a ! after % if you're not interest in aspect ratio. (add -filter lanczos before -resize, if you want a lanczos resizer)