Created
August 7, 2019 16:58
-
-
Save parzibyte/45a0bc0e991456816fdd0076edcc3fdd to your computer and use it in GitHub Desktop.
Webp to png in Python - https://parzibyte.me/blog/2018/10/29/convertir-webp-png-python-pillow/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
imagen = Image.open("tu_imagen_con_extension.webp") | |
# Aquí hacemos la conversión | |
imagen.save("nueva_imagen_con_extension.png") | |
# ¡Listo! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment