I added the ability to resize images to the Nmag utility.