Changeset 3237


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

Fixed sizeC calculation for RGBA TIFFs.

File:
1 edited

Legend:

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

    r3205 r3237  
    533533      TiffTools.getIFDIntValue(ifds[0], TiffTools.IMAGE_LENGTH, false, 0); 
    534534    core.sizeZ[0] = 1; 
    535     core.sizeC[0] = core.rgb[0] ? 3 : 1; 
     535    core.sizeC[0] = core.rgb[0] ? samples : 1; 
    536536    core.sizeT[0] = ifds.length; 
    537537    core.metadataComplete[0] = true; 
Note: See TracChangeset for help on using the changeset viewer.