How to easily resize images via command-line?

I would like to know how to resize images in Ubuntu. What is the easiest tool to do so?