UIImage

extension UIImage

Extensions to UIImage to provide extra utilities to UIImage

  • Constructor that converts a CVPixelBuffer to a UIImage

    Declaration

    Swift

    public convenience init?(pixelBuffer: CVPixelBuffer)

    Parameters

    pixelBuffer

    a pixel buffer to be converted into a UIImage