diff --git a/coders/tiff.c b/coders/tiff.c
index 807c127..7144149 100644
--- a/coders/tiff.c
+++ b/coders/tiff.c
@@ -949,8 +949,8 @@
y_position=(float) image->page.y/y_resolution;
(void) TIFFGetFieldDefaulted(tiff,TIFFTAG_XPOSITION,&x_position);
(void) TIFFGetFieldDefaulted(tiff,TIFFTAG_YPOSITION,&y_position);
- image->page.x=(long) (x_position*x_resolution+0.5);
- image->page.y=(long) (y_position*y_resolution+0.5);
+ image->page.x=(long) ceil(x_position*x_resolution-0.5);
+ image->page.y=(long) ceil(y_position*y_resolution-0.5);
image->orientation=(OrientationType) orientation;
chromaticity=(float *) NULL;
(void) TIFFGetField(tiff,TIFFTAG_WHITEPOINT,&chromaticity);