Create 12 or 16 bit grayscale, CMYK or YCBCR TIFF files with TIFF SDK

When using SaveDIBInTIFFFile or SaveDIBInTIFFFileExt  to save color images, the following specifiers can also be specified using a binary OR operation with one of the compression flags:

TSPEC_16BIT            - Save the image in 16 bit grayscale format .
TSPEC_12IN16BIT   - Save the image in 12 bit grayscale format.
TSPEC_CMYK          - Save the image as a CMYK image.
TSPEC_YCBCR        - Save the image as a YCBCR image

Example: To create a CMYK uncompressed TIFF file, use the TCCOMP_NOCOMP|TSPEC_CMYK value with the SaveDIBInTIFFFile function.