Changeset 3358


Ignore:
Timestamp:
11/09/07 13:16:21 (12 years ago)
Author:
melissa
Message:

Implemented new sub-image API methods - this should have been in r3357.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ReaderWrapper.java

    r3197 r3358  
    174174  } 
    175175 
     176  public BufferedImage openImage(int no, int x, int y, int w, int h) 
     177    throws FormatException, IOException 
     178  { 
     179    return reader.openImage(no, x, y, w, h); 
     180  } 
     181 
    176182  public byte[] openBytes(int no) throws FormatException, IOException { 
    177183    return reader.openBytes(no); 
    178184  } 
    179185 
     186  public byte[] openBytes(int no, int x, int y, int w, int h) 
     187    throws FormatException, IOException 
     188  { 
     189    return reader.openBytes(no, x, y, w, h); 
     190  } 
     191 
    180192  public byte[] openBytes(int no, byte[] buf) 
    181193    throws FormatException, IOException 
    182194  { 
    183195    return reader.openBytes(no, buf); 
     196  } 
     197 
     198  public byte[] openBytes(int no, byte[] buf, int x, int y, int w, int h) 
     199    throws FormatException, IOException 
     200  { 
     201    return reader.openBytes(no, buf, x, y, w, h); 
    184202  } 
    185203 
Note: See TracChangeset for help on using the changeset viewer.