Skip to content

Commit 5d0e356

Browse files
committed
remove all comments related to the gm library
1 parent 766d265 commit 5d0e356

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

functions/imagemagick/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ const blurImage = async (file, blurredBucketName) => {
7474
throw new Error(`File download failed: ${err}`);
7575
}
7676
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);
77+
await sharp(tempLocalPath).blur(16).toFile(tempLocalBlurredPath);
8078

8179
console.log(`Blurred image: ${file.name}`);
8280
} catch (err) {

0 commit comments

Comments
 (0)