Changeset 3504


Ignore:
Timestamp:
12/28/07 09:52:57 (12 years ago)
Author:
melissa
Message:
  • Don't assume that each TCS TIFF has only one IFD.
  • Fixed C index calculation in FileStitcher.
Location:
trunk/loci/formats
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/FileStitcher.java

    r3497 r3504  
    11971197    // get Z, C and T positions 
    11981198    int[] zct = getZCTCoords(no); 
    1199     zct[1] *= getRGBChannelCount(); 
    12001199    int[] posZ = FormatTools.rasterToPosition(lenZ[sno], zct[0]); 
    12011200    int[] posC = FormatTools.rasterToPosition(lenC[sno], zct[1]); 
  • trunk/loci/formats/in/TCSReader.java

    r3486 r3504  
    106106    n += no; 
    107107 
     108    if (tiffReaders.length == 1) return tiffReaders[0].openBytes(n, buf); 
    108109    return tiffReaders[n].openBytes(0, buf); 
    109110  } 
Note: See TracChangeset for help on using the changeset viewer.