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

Method writeRGBStack

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

Source from the content-addressed store, hash-verified

242 }
243
244 void writeRGBStack(OutputStream out, Object[] stack) throws IOException {
245 showProgressBar = false;
246 for (int i=0; i<fi.nImages; i++) {
247 IJ.showStatus("Writing: " + (i+1) + "/" + fi.nImages);
248 writeRGBImage(out, (int[])stack[i]);
249 IJ.showProgress((double)(i+1)/fi.nImages);
250 }
251 }
252
253 void writeRGBVirtualStack(OutputStream out, VirtualStack virtualStack) throws IOException {
254 showProgressBar = false;

Callers 1

writeMethod · 0.95

Calls 3

showStatusMethod · 0.95
writeRGBImageMethod · 0.95
showProgressMethod · 0.95

Tested by

no test coverage detected