AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.01.24 03:43 "about jpeg sample factor", by <yangrz@lenovo.com>
2005.01.24 05:29 "Re: about jpeg sample factor", by Lee Howard

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

On 2005.01.23 19:43 yangrz@Lenovo.com wrote:
> 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.

Lee.