Searched refs:xres (Results 1 – 4 of 4) sorted by relevance
| /libtiff-4.0.7/tools/ |
| H A D | fax2ps.c | 203 float xres, yres, scale = 1.0; in printTIF() local 213 if (!TIFFGetField(tif, TIFFTAG_XRESOLUTION, &xres) || !xres) { in printTIF() 216 xres = defxres; in printTIF() 225 xres *= 2.54F; in printTIF() 229 pageWidth = w / xres; in printTIF() 255 scale = pageHeight / (h/yres) < pageWidth / (w/xres) ? in printTIF() 256 pageHeight / (h/yres) : pageWidth / (w/xres); in printTIF() 258 points * (pageWidth - scale*w/xres) * half, in printTIF() 260 printf("%g %g scale\n", points/xres*scale, -points/yres*scale); in printTIF()
|
| H A D | tiff2ps.c | 622 float xres = 0.0F, yres = 0.0F; in setupPageState() local 632 if (!TIFFGetField(tif, TIFFTAG_XRESOLUTION, &xres) in setupPageState() 633 || fabs(xres) < 0.0000001) in setupPageState() 634 xres = PS_UNIT_SIZE; in setupPageState() 640 xres *= 2.54F, yres *= 2.54F; in setupPageState() 658 if ((xres > 1.0) && (xres != PS_UNIT_SIZE)) in setupPageState() 659 *pprw = PSUNITS(*pw, xres); in setupPageState()
|
| H A D | tiffcrop.c | 395 float xres; member 5002 image->xres = 0.0; in initImageData() 5076 float xres, yres; in computeInputPixelOffsets() local 5088 xres = 1.0; in computeInputPixelOffsets() 5102 xres = image->xres; in computeInputPixelOffsets() 5619 page->hres = image->xres; in computeOutputPixelOffsets() 5809 float xres = 0.0, yres = 0.0; in loadImage() local 5917 image->xres = xres; in loadImage() 8549 res_temp = image->xres; in rotateImage() 8550 image->xres = image->yres; in rotateImage() [all …]
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 2498 * tools/tiffcrop.c: initialize xres/yres values.
|