2003.04.14 11:30 "planar to chunky", by Carter John-jcarte01
I though I'd get my facts straight before i tried implementing this conversion process.
I've got a tiff in planar format ie planar_configuration = 2. I've a question.
- a Is all the data for a pixel in the one strip eg in a strip 12 bytes long is the rgb data for the 1st pixel at locations 0,4,8 (assuming 24bit image) OR
- b is the image divide in 3 strips and the 1st strip is devoted to Red. ie the rgb data for the 1st pixel is in 1st location of each strip ?
- assuming the 1a is true, would the bytes for the 1st pixel in a 48bit image be in strip locations 01,45,89 ?
- if the image is also horizontal differencing ie predictor = 2 should the differencing be done after the strip has be chunkified :-)
BSS O&M Development group,
Mahon Industrial Estate,
Tel: +353 21 4807 637 (direct)
Fax: +353 21 4357635 ( reception )
Mobile: +353 86 3947920
Email <mailto:email@example.com> www <http://www.cork.cig.mot.com/~jcarte01/> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Homer: There's 3 ways to do things, the right way, the wrong way, and the max power way.
Bart: isn't that the wrong way.
Homer: yea but faster.