mirror of
https://git.adityakumar.xyz/jpg2png.git
synced 2024-09-07 22:40:40 +00:00
initial commit
This commit is contained in:
commit
696a14df15
4
README.md
Normal file
4
README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# jpg2png
|
||||
convert jpg files to png
|
||||
## Requirements
|
||||
imagemagick
|
6
jpg2png.sh
Normal file
6
jpg2png.sh
Normal 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
|
Loading…
Reference in a new issue