Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6fad6d

Browse files
committed
Merge branch 'Kiailandi-thumbnail'
2 parents 59c89e7 + 412058a commit d6fad6d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ A collection of simple Bash scripts.
5959
1. [Decimal2Hex.sh](scripts/dec2hex.sh): convert Decimal Number to Hex
6060
1. [Hex2Decimal](scripts/hextodec.sh): convert Hex number back to Decimal
6161

62+
## Image manipulation
63+
64+
1. [thumbnail.sh](scripts/thumbnail.sh): create 400px thumbnails from images in a folder
65+
6266
## License
6367

6468
MIT

scripts/thumbnail.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
for i in *.jpg; do
3+
convert "$i" -thumbnail 400 "thumbs/$i";
4+
done;
5+
6+

0 commit comments

Comments
 (0)