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

Method updateImagePlus

ij/src/main/java/ij/io/FileSaver.java:667–676  ·  view source on GitHub ↗
(String path, int fileFormat)

Source from the content-addressed store, hash-verified

665 }
666
667 public void updateImagePlus(String path, int fileFormat) {
668 if (imp==null || fi==null)
669 return;
670 if (name==null && path!=null) {
671 File f = new File(path);
672 directory = f.getParent() + File.separator;
673 name = f.getName();
674 }
675 updateImp(fi, fileFormat);
676 }
677
678 private void updateImp(FileInfo fi, int fileFormat) {
679 imp.changes = false;

Callers 1

saveAsTiffMethod · 0.95

Calls 3

updateImpMethod · 0.95
getParentMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected