openjpeg icon indicating copy to clipboard operation
openjpeg copied to clipboard

Color Range selection on encoding image

Open puscas opened this issue 4 years ago • 1 comments

Hi!

I'm testing libopenjpeg to create .jp2 two files files: one with safe color range [16, 235] and other with full range [0, 255]. The source image is the same for both tests. Would somebody point me in the direction on how to achieve it with libopenjpeg?

Kind Regards

puscas avatar Jan 15 '21 09:01 puscas

Only YCbCr(2) is limited range. While YCbCr(1) and YCbCr(3) are full range. Usually JPEG uses full range. Use ffmpeg if you want limited...

ValZapod avatar Jan 18 '21 08:01 ValZapod