Skip to main content

OH_ImageNative_GetImageSize

Function OH_ImageNative_GetImageSize 

Source
pub unsafe extern "C" fn OH_ImageNative_GetImageSize(
    image: *mut OH_ImageNative,
    size: *mut Image_Size,
) -> Image_ErrorCode
Expand description

@brief Obtains {@link Image_Size} of an {@link OH_ImageNative} object.

@param image Indicates the pointer to an {@link OH_ImageNative} object. @param size Indicates the pointer to the {@link Image_Size} object obtained. @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful. returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if invalid parameter. returns {@link Image_ErrorCode} IMAGE_UNKNOWN_ERROR - inner unknown error. @since 12