Hi,
I am dealing with some TIFF images from a vendor and they
have put some
information I need in the TIFFTAG_HOSTCOMPUTER attribute.
I couldn't seem to be able to access this from PerlMagick,
so I added the
following lines to coders/tiff.c
616a617,618
> if
(TIFFGetField(tiff,TIFFTAG_HOSTCOMPUTER,&text) == 1)
> (void)
SetImageAttribute(image,"Host_Computer",text);
1876a1879,1881
>
attribute=GetImageAttribute(image,"Host_Computer"
;);
> if (attribute != (const ImageAttribute *) NULL)
> (void)
TIFFSetField(tiff,TIFFTAG_HOSTCOMPUTER,attribute->value);
(I don't know if you have a standard naming policy, so I
just used
Host_Computer)
Is this of any use to the source code?
Or is there another way of getting this information from
PerMagick? (Sorry I
am not really a C programmer)
Thanks
Adam
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Magick-developers mailing list
Magick-developers imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers
|