Skip to main content

OH_PackingOptions_SetNeedsPackProperties

Function OH_PackingOptions_SetNeedsPackProperties 

Source
pub unsafe extern "C" fn OH_PackingOptions_SetNeedsPackProperties(
    options: *mut OH_PackingOptions,
    needsPackProperties: bool,
) -> Image_ErrorCode
Expand description

@brief Set needsPackProperties for OH_PackingOptions struct.

@param options The OH_PackingOptions pointer will be operated. @param needsPackProperties Whether the image properties can be saved, like Exif. @return Image functions result code. {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12