Table of Contents

Class PreviewImageUtil

Namespace
IO.Scanbot.Sdk.UI.Camera.Util
Assembly
DocumentSDK.NET.Droid.dll
public sealed class PreviewImageUtil : Object
Inheritance
PreviewImageUtil

Properties

Instance

public static PreviewImageUtil Instance { get; }

Property Value

PreviewImageUtil

Methods

ConvertNV21ToBitmap(byte[], int, int, int)

public static Bitmap ConvertNV21ToBitmap(byte[] nv21Image, int imageWidth, int imageHeight, int imageOrientation)

Parameters

nv21Image byte[]
imageWidth int
imageHeight int
imageOrientation int

Returns

Bitmap

ConvertYUV420toNV21(IImageProxy)

public static byte[] ConvertYUV420toNV21(IImageProxy image)

Parameters

image IImageProxy

Returns

byte[]

ConvertYUV420toNV21Fast(IImageProxy)

public static byte[] ConvertYUV420toNV21Fast(IImageProxy image)

Parameters

image IImageProxy

Returns

byte[]