Home
last modified time | relevance | path

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

/libtiff-4.0.7/tools/
H A Draw2tiff.c92 uint32 nbands = 1; /* number of bands in input image*/ in main() local
133 nbands = atoi(optarg); in main()
213 if (guessSize(fd, dtype, hdr_size, nbands, swab, &width, &length) < 0) in main()
227 TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, nbands); in main()
275 linebytes = width * nbands * depth; in main()
278 bufsize = width * nbands * depth; in main()
291 for (band = 0; band < nbands; band++) { in main()
311 memcpy(buf1 + (col*nbands+band)*depth, in main()
368 guessSize(int fd, TIFFDataType dtype, _TIFF_off_t hdr_size, uint32 nbands, in guessSize() argument
388 imagesize = (filestat.st_size - hdr_size) / nbands / depth; in guessSize()
[all …]
/libtiff-4.0.7/archive/tools/
H A Dbmp2tiff.c233 uint16 nbands = 1; /* number of bands in input image */ in main() local
464 nbands = 1; in main()
529 nbands = 3; in main()
530 depth = info_hdr.iBitCount / nbands; in main()
534 nbands = 3; in main()
549 TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, nbands); in main()