Skip to content

codeisconquer/python-convert-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Python Convert image files from png to jpg and back

##Installation

I've done this with python 3.7. Should work with older 3.x versions. If you have python 2.x, maybe you get an idea from this code and implement an adaptive solution.

###Modules needed -pip for installing modules -glob -PIL

pip install glob3 pip install Pillow

##Starting

Pythons pillow modul is very powerful to easyly convert images. Please install all necessary dependencies.

##Commands python convert_jpg2png.py python convert_png2jpg.py

Tipp: for having example png files, please run first jpg2png

##Copyrights The provided images are from Pixabay (https://pixabay.com/de/service/license/). Free to use licensing

About

Using python to convert from png to jpg and back

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages