CImage:KwdSetVal
The KwdSetVal method inserts a general keyword value into the image header.
CImage:KwdSetVal( sKwd, value ) |
This method inserts into the image header a general keyword and value. This method tries to recognize the keyword name from the master list that Mira already accepts. If the name is found, Mira formats the value appropriately. Otherwise, Mira interprets the value as a string. If the keyword name already exists, its value is overwritten by the new value.
Suppose a CImage named I exists. The following script fragment sets a keyword and its value in the header:
|
-- set a numeric value for CCDSUM |
|
-- set a string value for AUTHOR |