Question: what compression technique is used in cv::IMWRITE_JPEG_QUALITY?


For my research I’ve been using IMWRITE_JPEG_QUALITY in python’s cv2. I am interested in learning what compression technique is used here so I can write a bit about the use of it (so ideally I’m looking for a reference to a paper or to the name of an existing technique?). I believe I have found the cpp code for it, but I didn’t recognize the technique used.

Does anyone know what technique/encoding is used for image compression with that flag?

Thanks in advance!


opencv passes your images straight to 3rd party libs like libjpeg or libpng

you probably need to look into those, for an explanation