Skip to content

Support Pillow 10 #56

@bbarberBPL

Description

@bbarberBPL

Greetings from across the pond at the Boston public library. We recently upgraded our derivative processor, which uses this package, to use Pillow 10 and I noticed a couple failures when running our tests coming from this line in conversion.py..

According to the version 10 docs regarding constants A few constants in this project require changes including switching ImageCms.INTENT_PERCEPTUAL to ImageCms.Intent.PERCEPTUAL as referenced on line 140 in conversions.py

Also on Line 55 of conversions.py you will need to change Image.LANCZOS to Image.Resampling.LANCZOS

I just wanted to give you all a heads up for whenever you update to pillow v 10.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions