If you use the Nautilus file manager for GNU/Linux you may want to
sudo apt-get install nautilus-image-converter
Then kill X (ctrl-alt-backspace) and next time you use Nautilus you’ll notice options to easily resize and rotate images when you right click on them. My thanks to Hamish Taylor for this useful tip.