Resizes images by % or to specific pixels