I donβt know any libraries written in 100% python, but if you just need a library to work in python, use PIL . It supports reading and writing of many different image formats, including JPEG. Really, he has to do everything that you need.
source share