Class ImageUtility
An iOS image utility.
Inheritance
System.Object
    ImageUtility
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: FM.LiveSwitch.Cocoa
Assembly: FM.LiveSwitch.Cocoa.dll
Syntax
public class ImageUtility
  Methods
BufferToCGImage(VideoBuffer)
Buffers to cg image.
Declaration
public static CGImage BufferToCGImage(VideoBuffer buffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoBuffer | buffer | The buffer.  | 
      
Returns
| Type | Description | 
|---|---|
| CoreGraphics.CGImage | 
BufferToImage(VideoBuffer)
Buffers to image.
Declaration
public static UIImage BufferToImage(VideoBuffer buffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoBuffer | buffer | The buffer.  | 
      
Returns
| Type | Description | 
|---|---|
| UIKit.UIImage | 
CGImageToBuffer(CGImage)
Converts a CGImage to buffer.
Declaration
public static VideoBuffer CGImageToBuffer(CGImage cgImage)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CoreGraphics.CGImage | cgImage | The cg image.  | 
      
Returns
| Type | Description | 
|---|---|
| VideoBuffer | 
ImageToBuffer(UIImage)
Declaration
public static VideoBuffer ImageToBuffer(UIImage image)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UIKit.UIImage | image | 
Returns
| Type | Description | 
|---|---|
| VideoBuffer |