Paul B Mahol <onemda <at> gmail.com> writes: > + planes = s->planar ? s->bpp >> 3 : 1; I believe TIFF_SAMPLES_PER_PIXEL should be used to set planes. Carl Eugen