| /libtiff-4.0.7/tools/ |
| H A D | tiff2rgba.c | 153 TIFFGetField(in, TIFFTAG_IMAGELENGTH, &height); in cvt_by_tile() 332 if( row + rowsperstrip > height ) in cvt_by_strip() 333 rows_to_write = height - row; in cvt_by_strip() 391 pixel_count = width * height; in cvt_whole_image() 394 if (!width || !height || pixel_count / width != height) { in cvt_whole_image() 397 (unsigned long)width, (unsigned long)height); in cvt_whole_image() 423 TIFFSwabArrayOfLong(raster, width * height); in cvt_whole_image() 465 if( row + rowsperstrip > height ) in cvt_whole_image() 466 rows_to_write = height - row; in cvt_whole_image() 495 TIFFGetField(in, TIFFTAG_IMAGELENGTH, &height); in tiffcvt() [all …]
|
| H A D | tiffgt.c | 52 static uint32 width = 0, height = 0; /* window width & height */ variable 183 glutInitWindowSize(width, height); in main() 229 h = img.height; in initImage() 240 if (w != width || h != height) { in initImage() 242 _TIFFMultiply32(tif, img.width, img.height, "allocating raster buffer"); in initImage() 248 width = height = 0; in initImage() 253 height = h; in initImage() 255 TIFFRGBAImageGet(&img, raster, img.width, img.height); in initImage() 257 TIFFSwabArrayOfLong(raster,img.width*img.height); in initImage() 295 glutReshapeWindow(width, height); in setWindowSize() [all …]
|
| H A D | rgb2ycbcr.c | 254 cvtRaster(TIFF* tif, uint32* raster, uint32 width, uint32 height) in cvtRaster() argument 261 uint32 rheight = roundup(height, vertSubSampling); in cvtRaster() 269 for (y = height; (int32) y > 0; y -= nrows) { in cvtRaster() 287 uint32 width, height; /* image width & height */ in tiffcvt() local 297 TIFFGetField(in, TIFFTAG_IMAGELENGTH, &height); in tiffcvt() 298 pixel_count = width * height; in tiffcvt() 301 if (!width || !height || pixel_count / width != height) { in tiffcvt() 305 (unsigned long)width, (unsigned long)height); in tiffcvt() 319 if (!TIFFReadRGBAImage(in, width, height, raster, 0)) { in tiffcvt() 326 TIFFSetField(out, TIFFTAG_IMAGELENGTH, height); in tiffcvt() [all …]
|
| H A D | tiff2pdf.c | 3457 uint32 height){ in t2p_process_jpeg_strip() argument 3528 (unsigned char) ((height>>8) & 0xff); in t2p_process_jpeg_strip() 3530 (unsigned char) (height & 0xff); in t2p_process_jpeg_strip()
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | gif2tiff.c | 116 unsigned long width, height; variable 300 if (width == 0UL || height == 0UL || (width > 2000000000UL / height)) { in readgifimage() 308 raster_size=width*height; in readgifimage() 309 if ((raster_size/width) == height) { in readgifimage() 414 if (fill >= raster + width*height) { in readraster() 420 if (fill != raster + width*height) { in readraster() 424 (long) width*height); in readraster() 454 if (*fill >= raster + width*height) { in process() 488 if (*fill >= raster + width*height) { in process() 571 if (rowsperstrip > height-row) { in rasterize() [all …]
|
| /libtiff-4.0.7/contrib/ras/ |
| H A D | ras2tif.c | 95 height; local 171 height = pix->pr_height; 203 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, height); 212 TIFFSetField(tif, TIFFTAG_STRIPBYTECOUNTS, height / rowsperstrip); 229 fprintf(stderr, "%dx%dx%d image, ", width, height, depth); 231 for (row = 0; row < height; row++)
|
| H A D | tif2ras.c | 82 height; local 167 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &height); 170 fprintf(stderr, "%dx%dx%d image, ", width, height, depth); 175 pix = mem_create(width, height, depth); 251 for (row = 0; row < height; row++) {
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.c | 177 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &img->height); in TIFFImageIterBegin() 243 ok = TIFFImageIterGet(&img, raster, rwidth, img.height); in TIFFReadImageIter() 510 ok = TIFFImageIterGet(&img, NULL, img.width, img.height); in main()
|
| H A D | tif_imageiter.h | 42 uint32 height; /* image height */ member
|
| /libtiff-4.0.7/contrib/dbs/xtiff/ |
| H A D | xtiff.c | 914 xImage->width, xImage->height, xImageDepth); in CreateXImage() 928 0, 0, 0, 0, xImage->width, xImage->height); in CreateXImage() 931 0, 0, 0, 0, xImage->width, xImage->height); in CreateXImage() 1042 fake_event.xexpose.height = tfImageHeight; 1101 h = MIN(event->xexpose.height, ih); 1241 fake_event.xexpose.height = tfImageHeight; in ResizeProc()
|
| /libtiff-4.0.7/contrib/win_dib/ |
| H A D | Tiffile.cpp | 106 npixels = img.tif.width * img.tif.height; in ReadTIFF() 109 if (TIFFRGBAImageGet(&img.tif, raster, img.tif.width, img.tif.height)) { in ReadTIFF()
|
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_getimage.c | 479 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &img->height); in TIFFRGBAImageBegin() 535 ok = TIFFRGBAImageGet(&img, raster+(rheight-img.height)*rwidth, in TIFFReadRGBAImageOriented() 536 rwidth, img.height); in TIFFReadRGBAImageOriented() 2844 if( row + rowsperstrip > img.height ) in TIFFReadRGBAStrip() 2845 rows_to_read = img.height - row; in TIFFReadRGBAStrip() 2916 if( row + tile_ysize > img.height ) in TIFFReadRGBATile() 2917 read_ysize = img.height - row; in TIFFReadRGBATile()
|
| H A D | tiffio.h | 205 uint32 height; /* image height */ member
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 1001 * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height 3639 multipage TIFF with /width/height/center options set. As per bug 5731 be a full height tile for tiled images. Also changed error to just 6790 the strip/tile width and height aren't multiples of the sampling size. 6942 * fax2ps: Fixed mixup of width and height in bounding box statement
|