I have looked for this everywhere and already installed a few softwares that did not help me.
The thing is, I am studying and researching image and video quality analysis and part of the process is applying my work to different types of lossy compression formats.
Regarding the image part of the work, to do so for JPEG was the simplest thing. I was using something like this command line:
mogrify -format jpg -quality 15 img01.bmp
However, when I tried to move the study to other lossy compression formats, I could not find anything that allowed me to compress an image to different values of quality with a format that was not JPG. Just a few examples would be PGF, CPC, Fractual Compression etc.
It's important to say that Lossless Compression, such as PNG, won't help me.
I want to ask if anyone knows a software, a package or a library for python that allows me to compress an image to a lossy compression format (other that JPEG) and change the quality of it, even to the point of where the image is really terrible (5% quality on JPEG, for example).
Thank you very much for the help and attention.