Fixed WhitePoint tag copying.

This commit is contained in:
Andrey Kiselev 2005-07-06 11:38:17 +00:00
parent 2c639371b0
commit d83db532b1

View File

@ -1,4 +1,4 @@
/* $Id: tiffcp.c,v 1.28 2005-04-15 17:50:09 dron Exp $ */ /* $Id: tiffcp.c,v 1.29 2005-07-06 11:38:17 dron Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -504,7 +504,7 @@ static struct cpTag {
{ TIFFTAG_DATETIME, 1, TIFF_ASCII }, { TIFFTAG_DATETIME, 1, TIFF_ASCII },
{ TIFFTAG_ARTIST, 1, TIFF_ASCII }, { TIFFTAG_ARTIST, 1, TIFF_ASCII },
{ TIFFTAG_HOSTCOMPUTER, 1, TIFF_ASCII }, { TIFFTAG_HOSTCOMPUTER, 1, TIFF_ASCII },
{ TIFFTAG_WHITEPOINT, 1, TIFF_RATIONAL }, { TIFFTAG_WHITEPOINT, (uint16) -1, TIFF_RATIONAL },
{ TIFFTAG_PRIMARYCHROMATICITIES,(uint16) -1,TIFF_RATIONAL }, { TIFFTAG_PRIMARYCHROMATICITIES,(uint16) -1,TIFF_RATIONAL },
{ TIFFTAG_HALFTONEHINTS, 2, TIFF_SHORT }, { TIFFTAG_HALFTONEHINTS, 2, TIFF_SHORT },
{ TIFFTAG_INKSET, 1, TIFF_SHORT }, { TIFFTAG_INKSET, 1, TIFF_SHORT },