Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/ExampleSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static void main(String[] args) throws Exception {
overlappedInputFile.getAbsolutePath(), overlappedTiledFile.getAbsolutePath(), "96", "96"});
execute("OverlappedTiledWriter", new String[] {
overlappedInputFile.getAbsolutePath(), overlappedTiledFile2.getAbsolutePath(), "192", "96"});
execute("ReadWriteInMemory", new String[] {inputFile.getAbsolutePath()});
execute("ReadWriteInMemory", new String[] {inputFile.getAbsolutePath(), inMemoryFile.getAbsolutePath()});
execute("OrthogonalReader", new String[] {"--input", inputFile.getAbsolutePath(),
"--output", orthogonalFile.getAbsolutePath()});
execute("SubResolutionExample", new String[] { pyramidFile.getAbsolutePath()});
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/ReadWriteInMemory.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ public static void main(String[] args)
// flush output byte array to disk
System.out.println();
System.out.println("Flushing image data to disk...");
File outFile = new File(fileName + ".ome.tif");
String outFileName = args.length > 1 ? args[1] : fileName + ".ome.tif";
File outFile = new File(outFileName);
DataOutputStream out = new DataOutputStream(new FileOutputStream(outFile));
out.write(outBytes);
out.close();
Expand Down
Loading