Convert image to webp
cPanel's new image convert tool does not include the webp format, does anyone know if this can be added easily to the script? ...or does it mean a 'feature request' post that could take years to get it adopted ;)
-
You could do this using LSCache from LiteSpeed if using that. That may be one way around it. 0 -
Were not using it, but thanks for the suggestion. 0 -
I was able to do this with the UAPI function: uapi --user=$MYUSER ImageManager convert_file image_file=/home/$MYUSER/public_html/cPanel%20logo.jpg type=webp
replace $MYUSER with your user /home/$MYUSER/public_html/cPanel%20logo.jpg with your image and path to it0 -
Thanks, but we were looking to enable this system wide for all users using the new image convert tool. 0
Please sign in to leave a comment.
Comments
4 comments