Skip to main content

OH_ImageProcessing_IsCompositionSupported

Function OH_ImageProcessing_IsCompositionSupported 

Source
pub unsafe extern "C" fn OH_ImageProcessing_IsCompositionSupported(
    sourceImageInfo: *const ImageProcessing_ColorSpaceInfo,
    sourceGainmapInfo: *const ImageProcessing_ColorSpaceInfo,
    destinationImageInfo: *const ImageProcessing_ColorSpaceInfo,
) -> bool
Available on crate features api-13 and image-processing only.
Expand description

Query whether the image composition is supported.

§Arguments

  • sourceImageInfo - Input image color space information pointer.

  • sourceGainmapInfo - Input gainmap color space information pointer.

  • destinationImageInfo - Output image color space information pointer.

§Returns

  • true if the image composition is supported.

false if the image composition is unsupported.

Available since API-level: 13