Re: getMetada problem
Posted by
Aryeh Weiss on
Sep 10, 2009; 9:11am
URL: http://imagej.273.s1.nabble.com/Which-journal-to-publish-an-ImageJ-based-application-tp3691248p3691252.html
Wayne Rasband wrote:
> > Thank you for your reply. The image has metadata, but the
> > metadata werenot created originally by ImageJ. I received
> > the following from Wayne that explains the issue.
>
> >> The getMetadata() function can only retrieve metadata saved by
> >> ImageJ in the TIFF header. It returns an empty string if no ImageJ
> >> metadata is found. You have to use the Bio-formats plugin to
> >> retrieve ImageJ saved in TIFF headers by other applications.
>
> > A plugin or macro-command that reads any TIFF tag would beautiful,
> > so we will try to write something based on TiffDecoder.
>
> In the ImageJ 1.43g daily build, the getMetadata() macro function and
> the Image>Show Info command will retrieve the DateTime and Software TIFF
> tags.
>
> -wayne
>
Thank you Wayne -- that is great.
Thanks also to Joachim Wesner who sent me a plugin that reads the
various TIFF tags, and provides a good base for a plugin that that reads
what we want.
For the convenience of anyone interested in TIFF tags, the following
site is useful
http://www.awaresystems.be/imaging/tiff/tifftags.html--aryeh
--
Aryeh Weiss
School of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384050