From: dirk Date: Tue, 5 May 2015 13:10:50 +0000 (+0000) Subject: Fixed writing label and comment in tiff images. X-Git-Tag: 7.0.1-0~1057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2e407a470f5a718917e97d40849b2ed7d6c621a;p=imagemagick Fixed writing label and comment in tiff images. --- diff --git a/coders/tiff.c b/coders/tiff.c index 43997f62d..f7111c627 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -2838,10 +2838,10 @@ static void TIFFSetProperties(TIFF *tiff,Image *image,ExceptionInfo *exception) value=GetImageArtifact(image,"kodak-36867"); if (value != (const char *) NULL) (void) TIFFSetField(tiff,36867,value); - value=GetImageArtifact(image,"label"); + value=GetImageProperty(image,"label",exception); if (value != (const char *) NULL) (void) TIFFSetField(tiff,TIFFTAG_PAGENAME,value); - value=GetImageArtifact(image,"comment"); + value=GetImageProperty(image,"comment",exception); if (value != (const char *) NULL) (void) TIFFSetField(tiff,TIFFTAG_IMAGEDESCRIPTION,value); }