Search Results for

    Show / Hide Table of Contents

    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.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    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
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.24.3