When attempting to convert an image to WebP format, an error may occur. One possibility is that the image is in CMYK color mode.
WebP primarily supports RGB color mode, so if you try to convert an image in CMYK color mode, an error will occur. In this case, images can be converted to WebP by converting them to RGB mode.
Use image editing software such as Adobe Photoshop to make sure that the image is not in CMYK mode. To convert to RGB mode, also select “Mode” from the “Image” menu and click on “RGB Color”.
This will convert the image to RGB mode for conversion to WebP.