Fri Aug 12, 2016 9:55 am
In Python 2 there is a (deprecated) module for IRIX, called jpeg. I would like to use a module like that (its syntax reminds me of zlib module) in Python (preferably 3.x) on Raspbian. I mean, I would like to choose the level of compression (that is, the quality) with one command ( like jpeg.compress(data, 8) ) and decompress the image with the other command and then compare the decompressed image with the original. Is something like that available in Python? Or what are the options.