pub unsafe extern "C" fn OH_PixelmapNative_ConvertPixelmapNativeToNapi(
env: napi_env,
pixelmapNative: *mut OH_PixelmapNative,
pixelmapNapi: *mut napi_value,
) -> Image_ErrorCodeExpand description
@brief Convert a native PixelMap object to PixelMap napi object.
@param env Indicates the NAPI environment pointer. @param pixelmapNative Indicates a pointer to the PixelMap object created at the native layer. @param pixelmapNapi the PixelMap pointer will be converted. @return Image functions result code. {@link IMAGE_SUCCESS} if the execution is successful. {@link IMAGE_BAD_PARAMETER} pixelmapNative is nullptr @since 12