Searched refs:yres (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 218 if (!TIFFGetField(tif, TIFFTAG_YRESOLUTION, &yres) || !yres) { in printTIF() 221 yres = defyres; /* XXX */ in printTIF() 226 yres *= 2.54F; in printTIF() 231 pageHeight = h / yres; in printTIF() 255 scale = pageHeight / (h/yres) < pageWidth / (w/xres) ? in printTIF() 256 pageHeight / (h/yres) : pageWidth / (w/xres); in printTIF() 259 points * (scale*h/yres + (pageHeight - scale*h/yres) * 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 635 if (!TIFFGetField(tif, TIFFTAG_YRESOLUTION, &yres) in setupPageState() 636 || fabs(yres) < 0.0000001) in setupPageState() 637 yres = PS_UNIT_SIZE; in setupPageState() 640 xres *= 2.54F, yres *= 2.54F; in setupPageState() 662 if ((yres > 1.0) && (yres != PS_UNIT_SIZE)) in setupPageState() 663 *pprh = PSUNITS(*ph, yres); in setupPageState()
|
| H A D | tiffcrop.c | 396 float yres; member 5003 image->yres = 0.0; in initImageData() 5076 float xres, yres; in computeInputPixelOffsets() local 5089 yres = 1.0; in computeInputPixelOffsets() 5103 yres = image->yres; in computeInputPixelOffsets() 5621 page->vres = image->yres; in computeOutputPixelOffsets() 5809 float xres = 0.0, yres = 0.0; in loadImage() local 5918 image->yres = yres; in loadImage() 8550 image->xres = image->yres; in rotateImage() 8551 image->yres = res_temp; in rotateImage() [all …]
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 2498 * tools/tiffcrop.c: initialize xres/yres values.
|