Changeset 4865


Ignore:
Timestamp:
02/27/09 19:01:52 (11 years ago)
Author:
curtis
Message:

Add showinf option to suppress metadata filtering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/tools/ImageInfo.java

    r4804 r4865  
    7070    boolean pixels = true; 
    7171    boolean doMeta = true; 
     72    boolean filter = true; 
    7273    boolean thumbs = false; 
    7374    boolean minmax = false; 
     
    9293          if (args[i].equals("-nopix")) pixels = false; 
    9394          else if (args[i].equals("-nometa")) doMeta = false; 
     95          else if (args[i].equals("-nofilter")) filter = false; 
    9496          else if (args[i].equals("-thumbs")) thumbs = true; 
    9597          else if (args[i].equals("-minmax")) minmax = true; 
     
    162164        "    -nopix: read metadata only, not pixels", 
    163165        "   -nometa: output only core metadata", 
     166        " -nofilter: do not filter metadata fields", 
    164167        "   -thumbs: read thumbnails instead of normal pixels", 
    165168        "   -minmax: compute min/max statistics", 
     
    240243    reader.close(); 
    241244    reader.setNormalized(normalize); 
    242     reader.setMetadataFiltered(true); 
     245    reader.setMetadataFiltered(filter); 
    243246    reader.setMetadataCollected(doMeta); 
    244247    long s1 = System.currentTimeMillis(); 
Note: See TracChangeset for help on using the changeset viewer.