Resizing an image with imagemagick's convert utility is extremely common, but invoking the binary with -? or bringing up the man page will get you way more information than you're actually looking for, whereas the cheatsheet[1] has exactly what you need right there.
[1]: https://github.com/cheat/cheatsheets/blob/master/convert