I\'m learning how to convert images to .webp by reading this article. Here is my code that is meant to do this:
public