To convert the image webp format on upload, set the quality of the uploaded image, and allow the user to download the modified image.