Changeset 2270


Ignore:
Timestamp:
02/14/07 17:08:47 (13 years ago)
Author:
chris
Message:

Notebook:
1) delete old tif file if it exists before using TiffWriter
to save as tiff, otherwise you get a garbled file since the
old stuff is not deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/ome/notebook/MetadataPane.java

    r2269 r2270  
    327327      String id = currentFile.getPath(); 
    328328      String outId = id + ".tif"; 
     329      File outFile = new File(outId); 
     330      if(outFile.exists()) outFile.delete(); 
    329331      if(reader == null) reader = new ImageReader(); 
    330332      TiffWriter writer = new TiffWriter(); 
Note: See TracChangeset for help on using the changeset viewer.