Class PrecompressedTileReaderWriter
java.lang.Object
PrecompressedTileReaderWriter
-
Constructor Summary
ConstructorsConstructorDescriptionPrecompressedTileReaderWriter(String inputFile, String outputFile) Construct a new PrecompressedTileReaderWriter to read the specified input file and write the given output file. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidTo read an image file and write out a tiled image file on the command line: $ java PrecompressedTileReaderWriter input-file.svs output-file.dcmvoidRead tiles from input file and write tiles to output file.
-
Constructor Details
-
PrecompressedTileReaderWriter
Construct a new PrecompressedTileReaderWriter to read the specified input file and write the given output file. Tile sizes are calculated automatically.- Parameters:
inputFile- the file to be readoutputFile- the file to be written
-
-
Method Details
-
readWriteTiles
Read tiles from input file and write tiles to output file.- Throws:
IOException- thrown if unable to setup input or output stream for reader or writerloci.formats.FormatException- thrown by FormatWriter if attempting to set invalid series
-
main
To read an image file and write out a tiled image file on the command line: $ java PrecompressedTileReaderWriter input-file.svs output-file.dcm- Parameters:
args- input file, output file- Throws:
Exception
-