Ignore:
Timestamp:
04/06/07 15:26:45 (13 years ago)
Author:
curtis
Message:

Eliminate deprecation warnings relating to save vs saveImage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/CaptureHandler.java

    r2555 r2579  
    149149        ImageWriter writer = new ImageWriter(); 
    150150        try { 
    151           writer.save(id, getSnapshot(), true); 
     151          writer.saveImage(id, getSnapshot(), true); 
    152152          writer.close(); 
    153153        } 
     
    253253            BufferedImage image = captureImage(pc, mx, d); 
    254254            String name = doMovie ? filename : (pre + count + post); 
    255             try { writer.save(name, image, !doMovie); } 
     255            try { writer.saveImage(name, image, !doMovie); } 
    256256            catch (IOException exc) { exc.printStackTrace(); } 
    257257            catch (FormatException exc) { exc.printStackTrace(); } 
     
    265265        BufferedImage image = captureImage(pc, mxStart, d); 
    266266        String name = doMovie ? filename : (pre + count + post); 
    267         try { writer.save(name, image, true); } 
     267        try { writer.saveImage(name, image, true); } 
    268268        catch (IOException exc) { exc.printStackTrace(); } 
    269269        catch (FormatException exc) { exc.printStackTrace(); } 
Note: See TracChangeset for help on using the changeset viewer.