From ff411c24b5728c046e6e938bdc7bf66540d44660 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Sun, 18 Aug 2002 17:29:17 +0000 Subject: [PATCH] Fixes in orientation support. --- tools/tiffcp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/tiffcp.c b/tools/tiffcp.c index 1bd79352..7c715e3f 100644 --- a/tools/tiffcp.c +++ b/tools/tiffcp.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiffcp.c,v 1.7 2002-03-31 22:57:19 dron Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiffcp.c,v 1.8 2002-08-18 17:29:17 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -480,7 +480,6 @@ static struct cpTag { { TIFFTAG_IMAGEDESCRIPTION, 1, TIFF_ASCII }, { TIFFTAG_MAKE, 1, TIFF_ASCII }, { TIFFTAG_MODEL, 1, TIFF_ASCII }, -//FIXME { TIFFTAG_ORIENTATION, 1, TIFF_SHORT }, { TIFFTAG_MINSAMPLEVALUE, 1, TIFF_SHORT }, { TIFFTAG_MAXSAMPLEVALUE, 1, TIFF_SHORT }, { TIFFTAG_XRESOLUTION, 1, TIFF_RATIONAL }, @@ -909,12 +908,8 @@ static void cpStripToTile(uint8* out, uint8* in, uint32 rows, uint32 cols, int outskew, int inskew) { - uint8 *base = out; while (rows-- > 0) { uint32 j = cols; - if (orientation == ORIENTATION_BOTLEFT) - /* Mirror rows vertically */ - out = base + (cols + outskew) * rows; while (j-- > 0) *out++ = *in++; out += outskew;