File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def __blur_image(current_blob):
7070
7171 # Blur the image using ImageMagick.
7272 with Image (filename = temp_local_filename ) as image :
73- image .resize ( * image . size , blur = 16 , filter = "hamming" )
73+ image .blur ( radius = 0 , sigma = 16 )
7474 image .save (filename = temp_local_filename )
7575
7676 print (f"Image { file_name } was blurred." )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def __blur_image(current_blob):
7373
7474 # Blur the image using ImageMagick.
7575 with Image (filename = temp_local_filename ) as image :
76- image .resize ( * image . size , blur = 16 , filter = "hamming" )
76+ image .blur ( radius = 0 , sigma = 16 )
7777 image .save (filename = temp_local_filename )
7878
7979 print (f"Image { file_name } was blurred." )
You can’t perform that action at this time.
0 commit comments