Changeset 2643


Ignore:
Timestamp:
04/19/07 12:07:07 (13 years ago)
Author:
melissa
Message:

Fixed bug with reading 2.4 GB file.

File:
1 edited

Legend:

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

    r2640 r2643  
    104104    // read the image plane's pixel data 
    105105    long offset = header.length + extHeader.length; 
    106     offset += core.sizeX[0] * core.sizeY[0] * bytesPerPixel * no; 
    107  
     106    long bytes = core.sizeX[0] * core.sizeY[0] * bytesPerPixel; 
     107    offset += bytes * no; 
    108108    in.seek(offset); 
    109109    in.read(buf); 
Note: See TracChangeset for help on using the changeset viewer.