Changeset 1958


Ignore:
Timestamp:
12/21/06 11:51:21 (13 years ago)
Author:
melissa
Message:

Fixed openBytes bug.

File:
1 edited

Legend:

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

    r1947 r1958  
    208208    } 
    209209 
    210     byte[] p = new byte[tempPx.length * tempPx[0].length]; 
    211     for (int i=0; i<tempPx.length; i++) { 
     210    byte[] p = new byte[sizeC[0] * tempPx[0].length]; 
     211    for (int i=0; i<sizeC[0]; i++) { 
    212212      System.arraycopy(tempPx[i], 0, p, i * tempPx[i].length, 
    213213        tempPx[i].length); 
Note: See TracChangeset for help on using the changeset viewer.