Class ImageUtility
Utility class for common bitmap operations.
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.Android
Assembly: FM.LiveSwitch.Android.dll
Syntax
public class ImageUtility
  Methods
BitmapToBuffer(Bitmap)
Converts an Android Bitmap to a VideoBuffer.
Declaration
public static VideoBuffer BitmapToBuffer(Bitmap bitmap)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Android.Graphics.Bitmap | bitmap | The image to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| VideoBuffer | 
BufferToBitmap(VideoBuffer)
Converts a VideoBuffer to an Android Bitmap.
Declaration
public static Bitmap BufferToBitmap(VideoBuffer videoBuffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| VideoBuffer | videoBuffer | The video buffer to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| Android.Graphics.Bitmap |