Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ImWrite and ImwriteFlags: JPEG and JPEG2000

Hi.

In documentation for OpenCV 3.2, I see no option to control JPEG2000 compression like quality (it is only for JPG in range 0..100).

Apparrently the file size decreases for JPG2000 files when using the JPG quality parameters (changing from 100 to 80).

Is quality 100 then lossless, and less than 100 lossy compression for JPG2000?

I need a little description of what compressions parameters to be able to set for JPG2000.

There are also more/new imwrite flags to set for JPG, of which I would like to know a little bit more about.

/Torben