Open rsequeira12 opened 1 year ago
Thank you @rsequeira12. Pillow 10.0.0 indeed removed it.
@bashu Would it be possible to have a new version? It's been fixed in #46 some months ago already and is in the develop
branch? Thanks so much!
Hi! Got here after trying to use the library and stumbling upon this error. Would love to have this fixed :)
In the meantime, a quick workaround is to set Pillow<10.0.0
in your project requirements.
correct line 72 in file site-packages/watermarker/templatetags/watermarker.py replace this: mark = mark.resize(scale, resample=Image.ANTIALIAS) for this: mark = mark.resize(scale, resample=Image.LANCZOS)