Search Results for

    Show / Hide Table of Contents

    Class ImageUtility

    Utility class for common image operations.

    Inheritance
    System.Object
    ImageUtility
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ImageUtility : object

    Methods

    BitmapToBuffer(SoftwareBitmap)

    Converts a bitmap to a video buffer.

    Declaration
    public static VideoBuffer BitmapToBuffer(SoftwareBitmap bitmap)
    Parameters
    Type Name Description
    Windows.Graphics.Imaging.SoftwareBitmap bitmap

    The bitmap.

    Returns
    Type Description
    VideoBuffer

    The buffer.

    BitmapToBuffer(SoftwareBitmap, VideoBuffer)

    Converts a bitmap to a video buffer.

    Declaration
    public static void BitmapToBuffer(SoftwareBitmap bitmap, VideoBuffer buffer)
    Parameters
    Type Name Description
    Windows.Graphics.Imaging.SoftwareBitmap bitmap

    The bitmap.

    VideoBuffer buffer

    The buffer.

    BufferToBitmap(VideoBuffer)

    Converts a video buffer to a bitmap.

    Declaration
    public static SoftwareBitmap BufferToBitmap(VideoBuffer buffer)
    Parameters
    Type Name Description
    VideoBuffer buffer

    The buffer.

    Returns
    Type Description
    Windows.Graphics.Imaging.SoftwareBitmap

    The bitmap.

    BufferToBitmap(VideoBuffer, SoftwareBitmap)

    Converts a video buffer to a bitmap.

    Declaration
    public static void BufferToBitmap(VideoBuffer buffer, SoftwareBitmap bitmap)
    Parameters
    Type Name Description
    VideoBuffer buffer

    The buffer.

    Windows.Graphics.Imaging.SoftwareBitmap bitmap

    The bitmap.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0