initial commit

This commit is contained in:
Aditya 2022-05-04 10:58:22 +05:30
commit 696a14df15
2 changed files with 10 additions and 0 deletions

4
README.md Normal file
View file

@ -0,0 +1,4 @@
# jpg2png
convert jpg files to png
## Requirements
imagemagick

6
jpg2png.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
for image in *.jpg; do
convert "$image" "${image%.jpg}.png"
echo "$image -> ${image%.jpg}.png"
done
exit 0