How do you convert pictures from PNG to WEBP?

How to convert pictures from pnj to wedp note I want to use this format to create an application ... My second question is how to use commands when the image is available in such a format

Can you clarify

The extension I linked can transform PNG images into Webp, since that was what you asked for.

Yes.. And I will not in your first comment I did not understand the explanation

...when you are given an extension, you usually go ahead, view the documentation and download it to use it...what do you not understand?