Switch to a Python 3-compatible imaging library
|Reported by:||aaugustin||Owned by:||daniellindsley|
|Cc:||reinout@…, sj@…, mike+django-trac@…, daniellindsley, chrismedrela||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Originally reported by Marijonas Petrauskas on the django-developers mailing-list
Why isn't Pillow the recommended Django image library yet? PIL has
been unmaintained for almost 3 years and has a number of annoying bugs
(e.g. fails to open some valid JPEG files, maybe has some security
issues as well). Pillow, on the other hand, is a backwards-compatible
community-maintained fork, which has most of those issues fixed and
will even support Python 3 soon.
I think this change would involve (1) running the test suite with
Pillow, (2) updating the documentation and (3) updating the ImageField
warning shown when PIL is not installed.
Marking as a release blocker because of our goal to fully support Python 3 in 1.6.
I don't know if Pillow is the best choice, we should review the alternatives in all cases.
Change History (32)
comment:8 Changed 3 years ago by micsco
- Cc mike+django-trac@… added
comment:15 Changed 3 years ago by aaugustin
comment:16 Changed 3 years ago by daniellindsley
- Owner changed from nobody to daniellindsley
- Status changed from new to assigned
comment:23 Changed 3 years ago by Daniel Lindsley <daniel@…>
- Resolution set to fixed
- Status changed from assigned to closed