2005.01.24 03:43 "[Tiff] about jpeg sample factor", by Yangrz

2005.01.24 05:29 "Re: [Tiff] about jpeg sample factor", by Lee Howard

Now I am developing a camera application,

but the data image format from camera driver is YCbCr 4:2:2.

I think that's the default subsampling tag.

or where can find some example of using the jpeg_write_raw_data() function?

Just use TIFFWriteRawStrip and make sure that you set TIFFTAG_COMPRESSION = COMPRESSION_JPEG and TIFFTAG_PHOTOMETRIC = PHOTOMETRIC_YCBCR and other applicable tags beforehand.