convert files from jpg to png and save in a new directory python

Solutions on MaxInterview for convert files from jpg to png and save in a new directory python by the best coders in the world