From 377c842c237643567e9cff255babef267ee364e5 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 7 Jan 2022 11:04:35 +0100 Subject: [PATCH] Clean comment. --- build-avatars.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build-avatars.js b/build-avatars.js index c0e91848..9ee78ffc 100755 --- a/build-avatars.js +++ b/build-avatars.js @@ -31,12 +31,3 @@ for (let i = 1; i <= count; i++) { sharp(inputFile).flatten({background}).resize(120, 120).jpeg().toFile(path.join(outputDir, out.toString() + '.jpg')) } } - -// for i in {1..10}; do -// ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/$i.svg -o ./dist/server/avatars/$i.jpg -f jpg resize 120 120 -- flatten '#ffffff'; -// ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/$i.svg -o ./dist/server/avatars/$(( $i + 10 )).jpg -f jpg resize 120 120 -- flatten '#ff0000'; -// ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/$i.svg -o ./dist/server/avatars/$(( $i + 20 )).jpg -f jpg resize 120 120 -- flatten '#00ff00'; -// ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/$i.svg -o ./dist/server/avatars/$(( $i + 30 )).jpg -f jpg resize 120 120 -- flatten '#0000ff'; -// ./node_modules/sharp-cli/bin/cli.js -i ./public/images/avatars/$i.svg -o ./dist/server/avatars/$(( $i + 40 )).jpg -f jpg resize 120 120 -- flatten '#808000'; -// #bis=$(( $i + 30 )); -// done