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

Method getOriginalFileInfo

ij/src/main/java/ij/ImagePlus.java:2573–2582  ·  view source on GitHub ↗

Returns the FileInfo object that was used to open this image. Returns null for images created using the File/New command. @see ij.io.FileInfo @see #getFileInfo

()

Source from the content-addressed store, hash-verified

2571 @see #getFileInfo
2572 */
2573 public FileInfo getOriginalFileInfo() {
2574 if (fileInfo==null & url!=null) {
2575 fileInfo = new FileInfo();
2576 fileInfo.width = width;
2577 fileInfo.height = height;
2578 fileInfo.url = url;
2579 fileInfo.directory = null;
2580 }
2581 return fileInfo;
2582 }
2583
2584 /** Used by ImagePlus to monitor loading of images. */
2585 public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) {

Callers 15

ImagePlusMethod · 0.95
revertMethod · 0.95
revertStackMethod · 0.95
createImagePlusMethod · 0.95
getDirectoryMethod · 0.95
runMethod · 0.95
getProcessorMethod · 0.95
runMethod · 0.95
runMethod · 0.95
openZipMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected