Normaly, we sets IMWRITE_* flags for imwrite() params.
But imgcodecs expects to use some TIFFTAG_* directory.
This patch introduce IMWRITE_TIFF_ROWSPERSTRIP and
IMWRITE_TIFF_PREDICTOR instead of TIFFTAG_*.
IMWRITE_TIFF_XDPI=257,//!< For TIFF, use to specify the X direction DPI
IMWRITE_TIFF_YDPI=258,//!< For TIFF, use to specify the Y direction DPI
IMWRITE_TIFF_COMPRESSION=259,//!< For TIFF, use to specify the image compression scheme. See libtiff for integer constants corresponding to compression formats. Note, for images whose depth is CV_32F, only libtiff's SGILOG compression scheme is used. For other supported depths, the compression scheme can be specified by this flag; LZW compression is the default.
IMWRITE_TIFF_ROWSPERSTRIP=278,//!< For TIFF, use to specify the number of rows per strip.
IMWRITE_TIFF_PREDICTOR=317,//!< For TIFF, use to specify predictor.
IMWRITE_JPEG2000_COMPRESSION_X1000=272,//!< For JPEG2000, use to specify the target compression rate (multiplied by 1000). The value can be from 0 to 1000. Default is 1000.
IMWRITE_AVIF_QUALITY=512,//!< For AVIF, it can be a quality between 0 and 100 (the higher the better). Default is 95.
IMWRITE_AVIF_DEPTH=513,//!< For AVIF, it can be 8, 10 or 12. If >8, it is stored/read as CV_32F. Default is 8.