mirror of
https://git.adityakumar.xyz/jpg2png.git
synced 2024-11-21 19:52:52 +00:00
initial commit
This commit is contained in:
commit
696a14df15
2 changed files with 10 additions and 0 deletions
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