django-uploads

How do you convert a PIL `Image` to a Django `File`?

How do you convert a PIL `Image` to a Django `File`? Question: I’m trying to convert an UploadedFile to a PIL Image object to thumbnail it, and then convert the PIL Image object that my thumbnail function returns back into a File object. How can I do this? Asked By: orokusaki || Source Answers: I’ve …

Total answers: 7