cPanel Images Converter doesn't support webp

celiac101

Well-Known Member
Dec 19, 2012
145
5
68
cPanel Access Level
Website Owner
I am trying to batch covert images in a directory from jpg to webp, and it looks like I don't have this option using the cPanel Images Converter, as it only includes png, jpg, gif, bmp. Is there any module or update that I can add so that it will also handle webp files?

In a different thread this command was supposed to work, however I got errors when running it:

uapi --user=$MYUSER ImageManager convert_file image_file=/home/$MYUSER/public_html/cPanel%20logo.jpg type=webp

here is the error:

errors:
- "The system was unable to convert “/home/mydirectory/public_html/images2/filename.jpg”: convert: delegate failed `'cwebp' -quiet %Q '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1928.\n"


Any help would be appreciated.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,463
2,114
363
cPanel Access Level
Root Administrator
Hey there! We have some additional details on this here:


Can you see if that is helpful for your situation?