Changeset 3923


Ignore:
Timestamp:
04/15/08 15:36:04 (12 years ago)
Author:
melissa
Message:

Don't assume channels are interleaved when undifferencing.

File:
1 edited

Legend:

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

    r3920 r3923  
    18181818      if (DEBUG) debug("reversing horizontal differencing"); 
    18191819      int len = bitsPerSample.length; 
    1820       if (bitsPerSample[len - 1] == 0) len = 1; 
     1820      if (planarConfig == 2 || bitsPerSample[len - 1] == 0) len = 1; 
    18211821      if (bitsPerSample[0] <= 8) { 
    18221822        for (int b=0; b<input.length; b++) { 
Note: See TracChangeset for help on using the changeset viewer.