pub unsafe extern "C" fn OH_PixelmapInitializationOptions_SetSrcPixelFormat(
options: *mut OH_Pixelmap_InitializationOptions,
srcpixelFormat: i32,
) -> Image_ErrorCodeExpand description
@brief Set pixelFormat number for InitializationOptions struct.
@param options The InitializationOptions pointer will be operated. @param srcpixelFormat the number of image srcpixelFormat. @return Function result code: {@link IMAGE_SUCCESS} - if the operation is successful. {@link IMAGE_BAD_PARAMETER} - if options is null. @since 12