Home
last modified time | relevance | path

Searched refs:height (Results 1 – 14 of 14) sorted by relevance

/libtiff-4.0.7/tools/
H A Dtiff2rgba.c153 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 Dtiffgt.c52 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 Drgb2ycbcr.c254 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 Dtiff2pdf.c3457 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 Dgif2tiff.c116 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 Dras2tif.c95 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 Dtif2ras.c82 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 Dtif_imageiter.c177 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 Dtif_imageiter.h42 uint32 height; /* image height */ member
/libtiff-4.0.7/contrib/dbs/xtiff/
H A Dxtiff.c914 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 DTiffile.cpp106 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 Dtif_getimage.c479 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 Dtiffio.h205 uint32 height; /* image height */ member
/libtiff-4.0.7/
H A DChangeLog1001 * 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