Changeset 2765


Ignore:
Timestamp:
05/08/07 16:19:59 (13 years ago)
Author:
curtis
Message:

Fix compile errors and deprecation warnings.

Location:
trunk/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/ConvertToOmeTiff.java

    r2587 r2765  
    4545        } 
    4646        // write plane to output file 
    47         writer.saveImage(outId, plane, ifd, j == imageCount - 1); 
     47        writer.setId(outId); 
     48        writer.saveImage(plane, ifd, j == imageCount - 1); 
    4849        System.out.print("."); 
    4950      } 
  • trunk/utils/MakeLZW.java

    r2587 r2765  
    2323      System.out.print("Converting " + f + " to " + nf); 
    2424      reader.setId(f);  
     25      writer.setId(nf); 
    2526      int blocks = reader.getImageCount(); 
    2627      OMENode ome = (OMENode) ms.getRoot(); 
     
    4142 
    4243        // write file to disk 
    43         writer.saveImage(nf, img, ifd, b == blocks - 1); 
     44        writer.saveImage(img, ifd, b == blocks - 1); 
    4445      } 
    4546      System.out.println(" [done]"); 
  • trunk/utils/SewTiffs.java

    r2587 r2765  
    3838    String outId = base + "_C" + c + ".tiff"; 
    3939    System.out.println("Writing " + outId); 
     40    out.setId(outId); 
    4041    System.out.print("   "); 
    4142    boolean comment = false; 
     
    6667          TiffTools.putIFDValue(ifd, TiffTools.IMAGE_DESCRIPTION, desc); 
    6768          comment = true; 
    68           out.saveImage(outId, image, ifd, t == num - 1); 
     69          out.saveImage(image, ifd, t == num - 1); 
    6970          System.out.print("."); 
    7071          continue; 
     
    7374 
    7475      // write image plane 
    75       out.saveImage(outId, image, t == num - 1); 
     76      out.saveImage(image, t == num - 1); 
    7677 
    7778      // update status 
Note: See TracChangeset for help on using the changeset viewer.