Skip to main content

OH_DecodingOptions_GetDesiredSize

Function OH_DecodingOptions_GetDesiredSize 

Source
pub unsafe extern "C" fn OH_DecodingOptions_GetDesiredSize(
    options: *mut OH_DecodingOptions,
    desiredSize: *mut Image_Size,
) -> Image_ErrorCode
Expand description

@brief Obtains the desired output size.

@param options Pointer to an OH_DecodingOptions object. @param desiredSize Pointer to the desired output size. @return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr, or desiredSize is nullptr. @since 12