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

Method setProperties

ij/src/main/java/ij/ImagePlus.java:1727–1738  ·  view source on GitHub ↗

Creates a set of image properties from an array of strings. @see #getPropertiesAsArray @see #getProp(String) @see #setProp(String,String)

(String[] props)

Source from the content-addressed store, hash-verified

1725 * @see #setProp(String,String)
1726 */
1727 public void setProperties(String[] props) {
1728 imageProperties = null;
1729 if (props==null)
1730 return;
1731 //IJ.log("setProperties: "+props.length+" "+getTitle());
1732 for (int i=0; i<props.length; i+=2) {
1733 String key = props[i];
1734 String value = props[i+1];
1735 //IJ.log(" "+key+" "+value.length());
1736 setProp(key,value);
1737 }
1738 }
1739
1740 /** Returns the "Info" property string, or null if it is not found.
1741 * @see #getProp

Callers 13

setImageMethod · 0.95
createImagePlusMethod · 0.95
copyAttributesMethod · 0.95
flattenMethod · 0.95
runMethod · 0.95
zScaleMethod · 0.95
runMethod · 0.95
cropMethod · 0.95
compositeToRGBMethod · 0.95
compositeImageToRGBMethod · 0.95
setupFFTSaveMethod · 0.95
openMethod · 0.95

Calls 1

setPropMethod · 0.95

Tested by

no test coverage detected