Changeset 3094


Ignore:
Timestamp:
08/22/07 12:04:15 (13 years ago)
Author:
melissa
Message:

Fixed bug reported by Venu Kesireddy.

File:
1 edited

Legend:

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

    r3091 r3094  
    852852    boolean isTiled = stripOffsets == null; 
    853853 
    854     long maxValue = getIFDLongValue(ifd, MAX_SAMPLE_VALUE, false, 0); 
     854    long[] maxes = getIFDLongArray(ifd, MAX_SAMPLE_VALUE, false); 
     855    long maxValue = maxes == null ? 0 : maxes[0]; 
    855856 
    856857    if (ifd.get(new Integer(VALID_BITS)) == null && bitsPerSample[0] > 0) { 
Note: See TracChangeset for help on using the changeset viewer.