Class ImageConverter

java.lang.Object
loci.formats.tools.ImageConverter

public final class ImageConverter extends Object
ImageConverter is a utility class for converting a file between formats.
  • Constructor Details

    • ImageConverter

      public ImageConverter()
  • Method Details

    • testConvert

      public boolean testConvert(loci.formats.IFormatWriter writer, String[] args) throws loci.formats.FormatException, IOException
      A utility method for converting a file from the command line.
      Throws:
      loci.formats.FormatException
      IOException
    • getTileColumns

      public int getTileColumns(String outputName)
      Calculate the number of horizontal tiles represented by the given file name pattern.
      Parameters:
      outputName - the output file name pattern
      Returns:
      the number of horizontal tiles (columns)
    • main

      public static void main(String[] args) throws loci.formats.FormatException, IOException
      Throws:
      loci.formats.FormatException
      IOException