-
def testImages(request):
-
from PIL import Image
-
path = (‘c:/images/soluciones__1.jpg’)
-
#content = ‘c:/images/soluciones1.jpg’
-
content = ‘c:/images/image.gif’
-
image = Image.open(content)
-
image.thumbnail((200,150), Image.ANTIALIAS)
-
image.save(path, image.format)
-
savelog(image.format)
-
del image