Searched refs:nbands (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Draw2tiff.c87 uint32 nbands = 1; /* number of bands in input image*/ local
126 nbands = atoi(optarg);
206 if (guessSize(fd, dtype, hdr_size, nbands, swab, &width, &length) < 0)
220 TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, nbands);
268 linebytes = width * nbands * depth;
271 bufsize = width * nbands * depth;
284 for (band = 0; band < nbands; band++) {
298 memcpy(buf1 + (col*nbands+band)*depth,
355 guessSize(int fd, TIFFDataType dtype, off_t hdr_size, uint32 nbands, argument
372 imagesize = (filestat.st_size - hdr_size) / nbands / dept
[all...]
H A Dbmp2tiff.c227 uint16 nbands = 1; /* number of bands in input image */ local
408 nbands = 1;
465 nbands = 3;
466 depth = info_hdr.iBitCount / nbands;
470 nbands = 3;
485 TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, nbands);

Completed in 65 milliseconds