Changeset 2312


Ignore:
Timestamp:
02/22/07 10:09:21 (13 years ago)
Author:
melissa
Message:

ImageJ doesn't support RGB data with more than 8 bits per channel, so we need
to reset the pixel type to uint8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/LociUploader.java

    r2305 r2312  
    129129 
    130130      } 
     131      if (is.getProcessor(1) instanceof ColorProcessor) { 
     132        store.setPixels(null, null, null, null, null,  
     133          new Integer(FormatReader.UINT8), null, null, null, null); 
     134      } 
     135 
    131136      boolean little = !store.getBigEndian(null).booleanValue(); 
    132137 
Note: See TracChangeset for help on using the changeset viewer.