We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7542e commit c118f19Copy full SHA for c118f19
sorl_thumbnail_avif/thumbnail/engines/pil_engine.py
@@ -2,6 +2,7 @@
2
from sorl.thumbnail.engines.pil_engine import Engine
3
4
from PIL import Image, ImageFile
5
+from PIL.ImageFilter import GaussianBlur
6
import pillow_avif # noqa: F401
7
8
@@ -63,3 +64,6 @@ def _get_raw_data(
63
64
bf.close()
65
66
return raw_data
67
+
68
+ def _blur(self, image, radius):
69
+ return image.filter(GaussianBlur(radius=radius))
0 commit comments