You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: