TIM SDK
TIM API C
|
|
Signature information.
Object type signature_information.
Functions | |
ta_e_result_code_t | ta_signature_information_get_image_file_format (ta_object_t sig_info, ta_e_image_file_format_t *image_file_format) |
Image file format. More... | |
ta_e_result_code_t | ta_signature_information_get_image_width (ta_object_t sig_info, int *image_width) |
Image width in pixels. More... | |
ta_e_result_code_t | ta_signature_information_get_image_height (ta_object_t sig_info, int *image_height) |
Image height in pixels. More... | |
ta_e_result_code_t | ta_signature_information_get_image_data (ta_object_t sig_info, ta_object_t *image_data) |
Image data. More... | |
ta_e_result_code_t ta_signature_information_get_image_data | ( | ta_object_t | sig_info, |
ta_object_t * | image_data | ||
) |
Image data.
See ta_string_get_length for the size of the data and ta_string_get_pointer to get access to the data. Data can contain 0-bytes so always use the string length.
[in] | sig_info | Object instance of type signature_information. |
[out] | image_data | Pointer to variable to write object instance to. Object instance is of type string and is not retained. |
ta_c_rc_ok | Object instance written to image_data. |
ta_c_rc_invalid_argument | sig_info is ta_invalid_object. |
ta_c_rc_invalid_argument | sig_info is not of type signature_information. |
ta_c_rc_invalid_argument | image_data is null-pointer. |
ta_e_result_code_t ta_signature_information_get_image_file_format | ( | ta_object_t | sig_info, |
ta_e_image_file_format_t * | image_file_format | ||
) |
Image file format.
[in] | sig_info | Object instance of type signature_information. |
[out] | image_file_format | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to image_file_format. |
ta_c_rc_invalid_argument | sig_info is ta_invalid_object. |
ta_c_rc_invalid_argument | sig_info is not of type signature_information. |
ta_c_rc_invalid_argument | image_file_format is null-pointer. |
ta_e_result_code_t ta_signature_information_get_image_height | ( | ta_object_t | sig_info, |
int * | image_height | ||
) |
Image height in pixels.
[in] | sig_info | Object instance of type signature_information. |
[out] | image_height | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to image_height. |
ta_c_rc_invalid_argument | sig_info is ta_invalid_object. |
ta_c_rc_invalid_argument | sig_info is not of type signature_information. |
ta_c_rc_invalid_argument | image_height is null-pointer. |
ta_e_result_code_t ta_signature_information_get_image_width | ( | ta_object_t | sig_info, |
int * | image_width | ||
) |
Image width in pixels.
[in] | sig_info | Object instance of type signature_information. |
[out] | image_width | Pointer to variable to write value to. |
ta_c_rc_ok | Value written to image_width. |
ta_c_rc_invalid_argument | sig_info is ta_invalid_object. |
ta_c_rc_invalid_argument | sig_info is not of type signature_information. |
ta_c_rc_invalid_argument | image_width is null-pointer. |