Updating to try to invoke ImageMagick if the in java resizing fails