Package loci.formats.tools
Class ImageConverter
java.lang.Object
loci.formats.tools.ImageConverter
ImageConverter is a utility class for converting a file between formats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTileColumns(String outputName) Calculate the number of horizontal tiles represented by the given file name pattern.static voidbooleantestConvert(loci.formats.IFormatWriter writer, String[] args) A utility method for converting a file from the command line.
-
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. -
getTileColumns
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
-