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

Method getPropertiesAsArray

ij/src/main/java/ij/ImagePlus.java:1690–1702  ·  view source on GitHub ↗

Used for saving string properties in TIFF header.

()

Source from the content-addressed store, hash-verified

1688
1689 /** Used for saving string properties in TIFF header. */
1690 public String[] getPropertiesAsArray() {
1691 if (imageProperties==null || imageProperties.size()==0)
1692 return null;
1693 String props[] = new String[imageProperties.size()*2];
1694 int index = 0;
1695 for (Enumeration en=imageProperties.keys(); en.hasMoreElements();) {
1696 String key = (String)en.nextElement();
1697 String value = imageProperties.getProperty(key);
1698 props[index++] = key;
1699 props[index++] = value;
1700 }
1701 return props;
1702 }
1703
1704 /** Returns information displayed by Image/Show Info command. */
1705 public String getPropsInfo() {

Callers 15

createImagePlusMethod · 0.95
flattenMethod · 0.95
setImageMethod · 0.80
copyAttributesMethod · 0.80
CompositeImageMethod · 0.80
runMethod · 0.80
getImagePropertiesMethod · 0.80
zScaleMethod · 0.80
runMethod · 0.80
cropMethod · 0.80
compositeToRGBMethod · 0.80
compositeImageToRGBMethod · 0.80

Calls 2

sizeMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected