Tool for resizing images on the command line