pub unsafe extern "C" fn OH_DecodingOptions_GetPixelFormat(
options: *mut OH_DecodingOptions,
pixelFormat: *mut i32,
) -> Image_ErrorCodeExpand description
@brief Obtains the pixel format.
@param options Pointer to an OH_DecodingOptions object.
@param pixelFormat Pointer to the pixel format. For details about the available options, see {@link PIXEL_FORMAT}.
@return {@link IMAGE_SUCCESS} if the execution is successful.
{@link IMAGE_BAD_PARAMETER} options is nullptr, or pixelFormat is nullptr.
@since 12