MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / write8BitStack

Method write8BitStack

ij/src/main/java/ij/io/ImageWriter.java:35–43  ·  view source on GitHub ↗
(OutputStream out, Object[] stack)

Source from the content-addressed store, hash-verified

33 }
34
35 void write8BitStack(OutputStream out, Object[] stack) throws IOException {
36 showProgressBar = false;
37 savingStack = true;
38 for (int i=0; i<fi.nImages; i++) {
39 IJ.showStatus("Writing: " + (i+1) + "/" + fi.nImages);
40 write8BitImage(out, (byte[])stack[i]);
41 IJ.showProgress((double)(i+1)/fi.nImages);
42 }
43 }
44
45 void write8BitVirtualStack(OutputStream out, VirtualStack virtualStack) throws IOException {
46 showProgressBar = false;

Callers 1

writeMethod · 0.95

Calls 3

showStatusMethod · 0.95
write8BitImageMethod · 0.95
showProgressMethod · 0.95

Tested by

no test coverage detected