Changeset 3953


Ignore:
Timestamp:
04/18/08 14:45:30 (12 years ago)
Author:
melissa
Message:

Adjust effective channel count if RGB planes were written.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/out/OMETiffWriter.java

    r3916 r3953  
    111111        } 
    112112 
     113        // if RGB planes were written, adjust sizeC 
     114        if (imageCount < sizeZ * sizeC * sizeT) { 
     115          sizeC = imageCount / (sizeZ * sizeT); 
     116        } 
     117 
    113118        StringBuffer tiffData = new StringBuffer(); 
    114119        tiffData.append(">"); 
Note: See TracChangeset for help on using the changeset viewer.