Changeset 1822


Ignore:
Timestamp:
11/17/06 16:11:03 (13 years ago)
Author:
melissa
Message:

Fixed pixel type mismatches in OME-TIFF files.

File:
1 edited

Legend:

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

    r1759 r1822  
    139139          pixelType[i] = FormatReader.pixelTypeFromString( 
    140140            pixels[i].getAttribute("PixelType")); 
     141          if (pixelType[i] == FormatReader.INT8 ||  
     142            pixelType[i] == FormatReader.INT16 ||  
     143            pixelType[i] == FormatReader.INT32) 
     144          { 
     145            pixelType[i]++; 
     146          } 
     147           
    141148          currentOrder[i] = pixels[i].getAttribute("DimensionOrder"); 
    142149          orderCertain[i] = true; 
Note: See TracChangeset for help on using the changeset viewer.