Updating images to PNG and optimizing size