pearu/pylibtiff

Possible to specify RGB and YCbCr colorspaces?

ilykos opened this issue · 0 comments

JPEG format allows storing pixel values in RGB and YCbCr colorspaces. In addition to that, with YCbCr it is possible to enable Chromaticity subsampling which in most cases improves the compression.

Does your package provide the possibility to explicitly specify TiffTag 530 YCbCrSubSampling and TiffTag 262 PhotometricInterpretation?

What would an example of saving a TIFF file with these parameters look like?