Hi Alan, Thanks for your reply.
Unfortunately you need to know the attribute name for GetAttribute, The vendor that generates these TIFFs have stuck the information I need in TIFFTAG_HOSTCOMPUTER for some strange reason, I know its there from the identify -verbose output, but it doesn't seem to be accessible from PerlMagick I was hoping that there was a method that would return all attribute names and values, say for example by calling GetAttribute() with no arguments... But I can't see that there is one that does this... I have actually managed to hack ImageMagick to make TIFFTAG_HOSTCOMPUTER accessible, but this means I have to recompile it on the target OS's, fine for my Mac, but not ideal as I have to run this on Windows also, and I have no idea to compile it there! Thanks again for your help Adam > Does GetAttribute() return what you need? There is a list of > 'attributes' for 'set' and 'get' in<www.imagemagic.org/script/perl- > magic.php> which might be helpful. > > HTH > > Alan Fry > > On 23 Feb 2006, at 23:17, Adam Witney wrote: > >> Hi, >> >> I am using PerlMagick to parse a TIFF file as I need to extract some >> information from the header section. I can get Tags like Make and >> Model, but >> I need to get some of the others (specifically Host Computer).... The >> information can be extracted using ImageMagick's identify -verbose, >> but I >> don't know how to get to all the tags using PerlMagick. >> >> Does anyone know how to get all the header tag information or at >> least get a >> list of the available tags with PerlMagick? >> >> Thanks for any help >> >> Adam >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.