From: msheby <44249925+msheby@users.noreply.github.com> Date: Wed, 27 Oct 2021 12:10:50 +0000 (-0700) Subject: opj_compress: add a -TargetBitDepth switch for TIFF output (#1384) X-Git-Tag: v2.5.0~20 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=90481203a28d4d18052a07711d6d890ed1ab8c8a;hp=90481203a28d4d18052a07711d6d890ed1ab8c8a;p=openjpeg.git opj_compress: add a -TargetBitDepth switch for TIFF output (#1384) 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. ---