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

Method run

ij/src/main/java/ij/plugin/GifWriter.java:33–41  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

31 }
32
33 public void run(String path) {
34 ImagePlus imp = IJ.getImage();
35 if (path==null || path.equals("")) {
36 SaveDialog sd = new SaveDialog("Save as Gif", imp.getTitle(), ".gif");
37 if (sd.getFileName()==null) return;
38 path = sd.getDirectory()+sd.getFileName();
39 }
40 run(imp, path);
41 }
42
43 @AstroImageJ(reason = "Add ability to return to original slice", modified = true)
44 private void run(ImagePlus imp, String path) {

Callers 1

saveMethod · 0.95

Calls 15

getImageMethod · 0.95
getTitleMethod · 0.95
getFileNameMethod · 0.95
getDirectoryMethod · 0.95
sizeMethod · 0.95
writeImageMethod · 0.95
errorMethod · 0.95
setoptionsMethod · 0.95
getFrameRateMethod · 0.95
setDelayMethod · 0.95
startMethod · 0.95
showStatusMethod · 0.95

Tested by

no test coverage detected