projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c0e4d
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Sat, 22 Feb 2014 22:36:29 +0000
(22:36 +0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Sat, 22 Feb 2014 22:36:29 +0000
(22:36 +0000)
coders/tiff.c
patch
|
blob
|
history
diff --git
a/coders/tiff.c
b/coders/tiff.c
index 64a6c22c8290bbd001e0ea1029002f65f240ba05..928950eba70e513c4737ab788f85e5aca606e75b 100644
(file)
--- a/
coders/tiff.c
+++ b/
coders/tiff.c
@@
-2565,7
+2565,9
@@
static void TIFFSetProperties(TIFF *tiff,Image *image,ExceptionInfo *exception)
const char
*value;
- (void) TIFFSetField(tiff,TIFFTAG_DOCUMENTNAME,image->filename);
+ value=GetImageProperty(image,"tiff:document",exception);
+ if (value != (const char *) NULL)
+ (void) TIFFSetField(tiff,TIFFTAG_DOCUMENTNAME,value);
value=GetImageProperty(image,"tiff:hostcomputer",exception);
if (value != (const char *) NULL)
(void) TIFFSetField(tiff,TIFFTAG_HOSTCOMPUTER,value);