更新UCD-API库及文档
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user