Changeset 6810


Ignore:
Timestamp:
08/18/10 14:09:56 (9 years ago)
Author:
melissa
Message:

Force the pixel type to be unsigned, regardless of what is actually stored in the TIFF files. Suggested by Rubén Muñoz in this thread:

 http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2010-August/001661.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/ScanrReader.java

    r6786 r6810  
    388388        pixelType = FormatTools.UINT8; 
    389389        break; 
    390       case FormatTools.UINT8: 
    391         pixelType = FormatTools.INT8; 
    392         break; 
    393390      case FormatTools.INT16: 
    394391        pixelType = FormatTools.UINT16; 
    395         break; 
    396       case FormatTools.UINT16: 
    397         pixelType = FormatTools.INT16; 
    398392        break; 
    399393    } 
Note: See TracChangeset for help on using the changeset viewer.