Changeset 1874


Ignore:
Timestamp:
11/29/06 14:11:34 (13 years ago)
Author:
melissa
Message:

Always throw an exception if we run into unnormalized float data.

File:
1 edited

Legend:

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

    r1850 r1874  
    570570    reader.setNormalized(normalize); 
    571571 
    572     if (!normalize && reader.getPixelType(id) == FLOAT && !reader.isRGB(id)) { 
     572    if (!normalize && reader.getPixelType(id) == FLOAT) { 
    573573      throw new FormatException("Sorry, unnormalized grayscale floating " + 
    574574        "point data is not supported.  Please use the '-normalize' option."); 
Note: See TracChangeset for help on using the changeset viewer.