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 Sets the needsPackProperties parameter in the OH_PackingOptions struct.

@param options Pointer to an OH_PackingOptions struct. @param needsPackProperties Whether to encode image property information (for example, Exif). The values include true (yes) and false (no). @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr. @since 12