Changeset 1442


Ignore:
Timestamp:
09/07/06 14:42:56 (14 years ago)
Author:
melissa
Message:

fixed Gatan bug

File:
1 edited

Legend:

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

    r1389 r1442  
    308308            if ("Data".equals(labelString)) pixelDataNum++; 
    309309 
    310             if ("Data".equals(labelString) && pixelDataNum == 2) { 
     310            if ("Data".equals(labelString) /*&& pixelDataNum == 2*/) { 
    311311              // we're given the number of pixels, but the tag containing 
    312312              // bytes per pixel doesn't occur until after the image data 
     
    321321                bpp *= 2; 
    322322                in.seek(pos); 
    323  
    324323                pixelData = new byte[(int) bpp * length]; 
    325324                in.read(pixelData); 
Note: See TracChangeset for help on using the changeset viewer.