opj_compress: add a -TargetBitDepth switch for TIFF output (#1384)
authormsheby <44249925+msheby@users.noreply.github.com>
Wed, 27 Oct 2021 12:10:50 +0000 (05:10 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Oct 2021 12:10:50 +0000 (14:10 +0200)
Sometimes, given the same (16-bit TIF) input, one wants to generate a variety of J2C outputs (say, 16-, 12-, and 10-bit). This patch allows one to downsample input files, and so makes it easier to automate OpenJPEG in mass generation of J2Cs without having to pipe though an image processing program.


No differences found