Home
last modified time | relevance | path

Searched refs:res_unit (Results 1 – 3 of 3) sorted by relevance

/libtiff-4.0.7/tools/
H A Dtiffcrop.c399 uint16 res_unit; member
5086 if (image->res_unit != RESUNIT_INCH && image->res_unit != RESUNIT_CENTIMETER) in computeInputPixelOffsets()
5108 switch (crop->res_unit) { in computeInputPixelOffsets()
5127 if ((crop->res_unit == RESUNIT_INCH) || (crop->res_unit == RESUNIT_CENTIMETER)) in computeInputPixelOffsets()
5200 if (crop->res_unit != RESUNIT_INCH && crop->res_unit != RESUNIT_CENTIMETER) in computeInputPixelOffsets()
5239 if (crop->res_unit != RESUNIT_INCH && crop->res_unit != RESUNIT_CENTIMETER) in computeInputPixelOffsets()
5592 page->res_unit = image->res_unit; in computeOutputPixelOffsets()
5594 switch (image->res_unit) { in computeOutputPixelOffsets()
5656 if (page->res_unit == RESUNIT_INCH || page->res_unit == RESUNIT_CENTIMETER) in computeOutputPixelOffsets()
5838 res_unit = RESUNIT_INCH; in loadImage()
[all …]
H A Dtiff2ps.c198 uint16 res_unit = 0; /* Resolution units: 2 - inches, 3 - cm */ variable
400 res_unit = RESUNIT_CENTIMETER; in main()
403 res_unit = RESUNIT_INCH; in main()
626 if (res_unit == 0) /* Not specified as command line option */ in setupPageState()
627 if (!TIFFGetFieldDefaulted(tif, TIFFTAG_RESOLUTIONUNIT, &res_unit)) in setupPageState()
628 res_unit = RESUNIT_INCH; in setupPageState()
638 switch (res_unit) { in setupPageState()
645 res_unit = RESUNIT_INCH; in setupPageState()
/libtiff-4.0.7/
H A DChangeLog2470 * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the