Answer the question
In order to leave comments, you need to log in
How to decompress JPEG, edit and compress back on the same DQT (quantization table) that was in the original?
Given: When unpacking from JPEG, in addition to the image itself, you need to get the DQT (quantization table), subsampling parameters, the progressive flag and all other parameters. After that, the edited (programmatically) image must be packed with the same parameters and (most importantly) quantized on the same DQT.
Question: What library will help to implement this at a sufficiently high level of abstraction.
So far I see a solution only on libjpeg. But one jpeglib.h for >1200 lines and the almost complete absence of manuals and examples sharply discourages the desire to dive into all this. I still hope to find a better tool.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question