Changeset 3036


Ignore:
Timestamp:
08/02/07 13:25:33 (13 years ago)
Author:
melissa
Message:

Fixed bug with multi-channel files that aren't RGB.

File:
1 edited

Legend:

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

    r3015 r3036  
    107107    core.sizeC[0] = Integer.parseInt(tc); 
    108108    core.sizeT[0] = Integer.parseInt(tt); 
     109 
     110    if (core.sizeZ[0] * core.sizeC[0] * core.sizeT[0] < core.imageCount[0]) { 
     111      core.sizeC[0] = core.imageCount[0]; 
     112    } 
    109113 
    110114    // parse each of the comments to determine axis ordering 
Note: See TracChangeset for help on using the changeset viewer.