Changeset 3348


Ignore:
Timestamp:
11/08/07 08:33:06 (12 years ago)
Author:
melissa
Message:

Retrieve OME-XML block directly from first IFD, without relying on metadata hashtable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/OMETiffReader.java

    r3275 r3348  
    8080 
    8181    OMETiffHandler handler = new OMETiffHandler(); 
    82     String comment = (String) getMeta("Comment"); 
     82    String comment = 
     83      (String) TiffTools.getIFDValue(ifds[0], TiffTools.IMAGE_DESCRIPTION); 
    8384 
    8485    currentSeries = -1; 
     
    294295    } 
    295296    catch (IOException e) { return false; } 
     297  } 
     298 
     299  /* @see loci.formats.IFormatHandler#close() */ 
     300  public void close() throws IOException { 
     301    super.close(); 
     302    usedFiles = null; 
     303    usedIFDs = null; 
     304    imageIDs = pixelsIDs = null; 
     305    tempIfdMap = tempFileMap = tempIfdCount = null; 
     306    numIFDs = null; 
     307    ifdMap = fileMap = null; 
     308    lsids = isWiscScan = false; 
    296309  } 
    297310 
Note: See TracChangeset for help on using the changeset viewer.