Python ContenidosCódigo en PythonImagen sin ampliarImagen cambiada de tamaño (se pierde calidad)Ejecución del script Código en Python Python from PIL import Image img = Image.open('1.jpg') new_img = img.resize((800,600)) new_img.save('1-800x600.png','png') 1234 from PIL import Imageimg = Image.open('1.jpg')new_img = img.resize((800,600))new_img.save('1-800x600.png','png') Imagen sin ampliar Imagen cambiada de tamaño (se pierde calidad) Ejecución del script