Last active
December 24, 2023 10:48
-
-
Save mabahamo/5ae25b45ccadc35895d8c7da42236e9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
filename=`basename $1` | |
name=`echo $filename | cut -f1 -d'.'` | |
convert -quality 100 -density 200 -colorspace sRGB "$filename" "$name-%02d.jpg" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment