convert jpg files to png
imagemagick
Put jpg2png.sh in PATH (preferably ~/.local/bin) and call it in a directory with jpg files
jpg2png.sh