CImage:KwdSetVal
The KwdSetVal method inserts a general keyword value into the image header.
CImage:KwdSetVal( sKwd, value ) |
sKwd is the keyword name
value is a string up to 70 characters long.
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 sets a keyword and its value in the header:
|
-- set a numeric value for CCDSUM |
|
-- set a string value for AUTHOR |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.