We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 766d265 commit 5d0e356Copy full SHA for 5d0e356
1 file changed
functions/imagemagick/index.js
@@ -74,9 +74,7 @@ const blurImage = async (file, blurredBucketName) => {
74
throw new Error(`File download failed: ${err}`);
75
}
76
try {
77
- await sharp(tempLocalPath)
78
- .blur(16) // A sigma of 16 provides a strong blur equivalent to the old gm settings
79
- .toFile(tempLocalBlurredPath);
+ await sharp(tempLocalPath).blur(16).toFile(tempLocalBlurredPath);
80
81
console.log(`Blurred image: ${file.name}`);
82
} catch (err) {
0 commit comments