How to bulk convert .webp files to .png files using Python

preview_player
Показать описание
For graphic designers and editors out there, you know how annoying it is to find an image off google and only end up downloading a webp files which is not supported by Adobe Illustrator.

Using a python package, i wrote a script to automatically convert all the webp files placed in a folder. That will save alot of time.

You can download the python files here:

Don't forget to subscribe to this channel. It will help feed stray cats I adopted.

If you wish to buy me coffee:
Рекомендации по теме
Комментарии
Автор

buenas noches la verdad muchas gracias pero le encontre un pequeño error que cuando la imagen tiene mas de una palabra en su nombre el codigo no la convierte ejemplo "el gato"

batacax
Автор

Hi
I'm getting this output. I have only changed the directory. What does that mean? The *.webp file is not converted.

['A46296.webp']
{'exit_code': 1, 'stdout': b'', 'stderr': b"'None' is not recognized as an internal or external command, \r\noperable program or batch file.\r\n", 'command': 'None A46296.webp -o A46296.png -v'}

mortenruus