setParameter
int clemrtl_setParameter(
clemrtl_image_handle handle,
const char* name,
const char* value);
Sets the value of an image parameter.
| Parameter | Description |
|---|---|
handle
|
The image handle. |
name
|
The parameter name. |
value
|
The parameter value. |
Returns one of the status codes shown in the following table.
| Result | Description |
|---|---|
CLEMRTL_OK
|
Success. |
CLEMRTL_ERROR
|
Failed with further details available. |
The operation fails if the image handle is invalid or if the parameter name
does not match the name of any parameter in the image. Parameter names use the
name.attribute format described above—for example, file0.name—and
parameter values are always strings, even when the interpretation is numeric.