1999.04.30 16:21 "Re: YCbCr reader help", by Tom Lane
Subsampling = 2, 2
I've set up a 1280x1000 array for each Y, Cb and Cr section. I expect to see the Y array filled, and 1/4 of the Cb and Cr arrays filled, which will then be enlarged to the size of the Y array.
That's correct for subsampling 2,2... but you do realize that *you* have to enlarge the Cb and Cr data, right? libtiff doesn't do that for you.
regards, tom lane
organizer, Independent JPEG Group