更新UCD-API库及文档

This commit is contained in:
xinzhu.yin
2026-07-02 17:16:18 +08:00
parent a500751d85
commit 9fa811a9eb
290 changed files with 9558 additions and 2306 deletions

View File

@@ -24,10 +24,10 @@ def UICL_Convert(src_image: UICL_Image, dest_image: UICL_Image):
return _UICL_Convert(byref(src_image), byref(dest_image))
def UICL_SaveToFile(src_image: UICL_Image, file_name, image_file_format):
_UICL_SaveToFile = lib_method_wrapper(UICL.UICL_SaveToFile, [c_char_p, POINTER(UICL_Image), c_int], UICL_RESULT)
def UICL_SaveToFile(src_image: UICL_Image, file_name, image_file_format, encrypted: bool = False):
_UICL_SaveToFile = lib_method_wrapper(UICL.UICL_SaveToFile, [c_char_p, POINTER(UICL_Image), c_int, c_bool], UICL_RESULT)
return _UICL_SaveToFile(c_char_p(file_name.encode('utf-8')), byref(src_image), image_file_format)
return _UICL_SaveToFile(c_char_p(file_name.encode('utf-8')), byref(src_image), image_file_format, encrypted)
def UICL_CalculateCRC16(src_image: UICL_Image, crc: UICL_CRC16):