Changeset 2579


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

Eliminate deprecation warnings relating to save vs saveImage.

Location:
trunk/loci/visbio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/data/ExportPane.java

    r2555 r2579  
    246246              task.setStatus(count++, max, 
    247247                "Writing #" + (i + 1) + "/" + numTotal); 
    248               if (tiffSaver == null) saver.save(filename, image, true); 
     248              if (tiffSaver == null) saver.saveImage(filename, image, true); 
    249249              else { 
    250250                // save image to TIFF file 
     
    274274                  "Writing #" + img + "/" + numTotal); 
    275275                boolean last = j == lengths[excl] - 1; 
    276                 if (tiffSaver == null) saver.save(filename, image, last); 
     276                if (tiffSaver == null) saver.saveImage(filename, image, last); 
    277277                else { 
    278278                  // save image to TIFF file 
  • 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.