Login  Register

Alternative TIFF tag reader - Was: Re: working with HostComputer tiff tag?

Posted by Joachim Wesner on Sep 18, 2009; 8:30am
URL: http://imagej.273.s1.nabble.com/working-with-HostComputer-tiff-tag-tp3691096p3691104.html

Hi

You might also try the new updated version of my Tiff tag reader that now
can be directly called from an ImageJ Macro:


      http://rsbweb.nih.gov/ij/plugins/tiff-tags.html


It does NOT need any external jar, the reader class is built-in.

Please do not hesitate to report any bugs as the latest version with Macro
capabilty in not yet tested extensively!

Sincerely

Joachim Wesner




                                                                           
             "JOEL B.                                                      
             SHEFFIELD"                                                    
             <[hidden email]>                                           An
             Gesendet von:              [hidden email]                
             ImageJ Interest                                         Kopie
             Group                                                        
             <[hidden email].                                       Thema
             GOV>                       Re: working with HostComputer tiff
                                        tag?                              
                                                                           
             15.09.2009 14:29                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




I'll echo that --same errors, new loci_tools.jar from trunk build
yesterday,
using pc-xp.

On Tue, Sep 15, 2009 at 4:09 AM, Gabriel Landini
<[hidden email]>wrote:

> Hi Curtis,
>
> On Monday 14 September 2009  08:57:33 Curtis Rueden wrote:
> > > The full error is (java.lang.NoClassDefFound Error:
> > Both of these errors indicate out-of-date versions of loci_tools.jar. I
> > would suggest trying the latest trunk build from the Bio-Formats web
> site.
> >
> > I have both the loci_tools.jar and the bio-formats.jar in the plugins
> > > folder.
> > > (I am not sure I need the latter?).
> > >
> >
> > You only need loci_tools.jar, not bio-formats.jar or any other JAR
file.
> > Best would be to remove any other Bio-Formats-related JAR files.
>
> Thank you for the tips.
> Done that, downloaded the new loci_tools,jar.
>
> The plugin at Wayne's site now works, but I  tried to compile the code
you

> sent last and I get this:
>
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:12: package
> loci.common does not exist
> import loci.common.RandomAccessInputStream;
>                  ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:13: package
> loci.formats.tiff does not exist
> import loci.formats.tiff.*;
> ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:43: cannot find
> symbol
> symbol  : class RandomAccessInputStream
> location: class TIFF_Dumper
>     RandomAccessInputStream in = new RandomAccessInputStream(path);
>     ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:43: cannot find
> symbol
> symbol  : class RandomAccessInputStream
> location: class TIFF_Dumper
>     RandomAccessInputStream in = new RandomAccessInputStream(path);
>                                      ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:44: cannot find
> symbol
> symbol  : class TiffParser
> location: class TIFF_Dumper
>     TiffParser parser = new TiffParser(in);
>     ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:44: cannot find
> symbol
> symbol  : class TiffParser
> location: class TIFF_Dumper
>     TiffParser parser = new TiffParser(in);
>                             ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:45: cannot find
> symbol
> symbol  : class IFDList
> location: class TIFF_Dumper
>    IFDList ifdList = parser.getIFDs();
>    ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:47: cannot find
> symbol
> symbol  : class IFD
> location: class TIFF_Dumper
>    for (IFD ifd : ifdList) {
>         ^
> /home/gabriel/ImageJ/plugins/InputOutput/TIFF_Dumper.java:50: cannot find
> symbol
> symbol  : variable IFD
> location: class TIFF_Dumper
>         String name = IFD.getIFDTagName(k);
>                       ^
> 9 errors
>
> Any suggestions
>
> Regards
>
> Gabriel
>



--


Joel B. Sheffield, Ph.D
Department of Biology
Temple University
Philadelphia, PA 19122
Voice: 215 204 8839
e-mail: [hidden email]
URL:  http://astro.temple.edu/~jbs



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________