Skip to content

Instantly share code, notes, and snippets.

@dscho
Created March 14, 2013 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dscho/5161715 to your computer and use it in GitHub Desktop.
Save dscho/5161715 to your computer and use it in GitHub Desktop.
imp = IJ.createImage("Example", "8-bit", 256, 256, 10);
imp.show();
Thread.sleep(1000);
imp.getStack().deleteSlice(1);
imp.updateAndDraw();
imp.getWindow().repaint();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment