pub unsafe extern "C" fn OH_ImageSourceNative_CreatePixelmap(
source: *mut OH_ImageSourceNative,
options: *mut OH_DecodingOptions,
pixelmap: *mut *mut OH_PixelmapNative,
) -> Image_ErrorCodeExpand description
@brief Creates the pointer to an OH_PixelmapNative object based on decoding options.
@param source Pointer to an OH_ImageSourceNative object.
@param options Pointer to the decoding options.
@param pixelmap Double pointer to the OH_PixelmapNative object created at the C++ local layer.
@return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} source is nullptr.
{@link IMAGE_SOURCE_UNSUPPORTED_OPTIONS} unsupported options,
e.g, cannot convert image into desired pixel format.
@since 12