Convert Image from .JPG to .PNG using a Shell Script
-
Put the Script in the image directory, where the .JPG images are located.
-
Give the Script Execute permission.
chmod +x converter.sh
- Run the Script
./converter.sh
- Output (converted .PNG) of those .JPG images can be found under ~/Desktop/Image directory.
-
The Script runs in any kind of LINUX Destro.
-
The Script Auto-download (once) imagemagick package if the package don't exist in the system.