Changeset 4162


Ignore:
Timestamp:
07/03/08 11:00:13 (12 years ago)
Author:
melissa
Message:

No need to create a new byte array.

File:
1 edited

Legend:

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

    r4132 r4162  
    6969    int bytesPerChannel = w * h; 
    7070    if (t.length > bytesPerChannel) { 
    71       buf = new byte[bytesPerChannel * 3]; 
    7271      for (int i=0; i<3; i++) { 
    7372        System.arraycopy(t, i * bytesPerChannel, buf, i*bytesPerChannel, 
Note: See TracChangeset for help on using the changeset viewer.