Changeset 3804


Ignore:
Timestamp:
03/11/08 17:18:59 (12 years ago)
Author:
melissa
Message:

Minor bugfixes.

Location:
trunk/loci/formats/in
Files:
2 edited

Legend:

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

    r3803 r3804  
    944944      core.indexed[i] = tiff[i][0].isIndexed(); 
    945945      core.rgb[i] = tiff[i][0].isRGB(); 
    946       if (core.rgb[i] && core.sizeC[i] == 1) core.sizeC[i] = 3; 
     946      if (core.rgb[i]) core.sizeC[i] *= 3; 
    947947      core.interleaved[i] = tiff[i][0].isInterleaved(); 
    948948      core.pixelType[i] = tiff[i][0].getPixelType(); 
  • trunk/loci/formats/in/OMETiffReader.java

    r3790 r3804  
    144144        String iid = file.getAbsolutePath(); 
    145145        String icomment = TiffTools.getComment(iid); 
     146        if (icomment == null || icomment.trim().length() == 0) continue; 
    146147        boolean addToList = true; 
    147148        if (lsids && imageIDs != null) { 
Note: See TracChangeset for help on using the changeset viewer.