Code from our modified fork of https://github.com/dwgoon/jpegio It's since been updated for more current libjpeg usage and efficiency. JPEGIO is a Python package which provides accelerated ops for manipulating JPG image files. It's used by pyIFD.
Hi, I am having difficulty getting the jpeg writes to work. I have scrambled the coefficients arrays according to a random permutation but after using jpegio.write and jpegio.read I get back the original coefficients.