Table of Contents

Class PreviewImageUtil

Namespace
IO.Scanbot.Sdk.UI.Camera.Util
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/util/PreviewImageUtil", DoNotGenerateAcw = true)]
public sealed class PreviewImageUtil : Object, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PreviewImageUtil
Implements
Inherited Members

Properties

Instance

[Register("INSTANCE")]
public static PreviewImageUtil Instance { get; }

Property Value

PreviewImageUtil

Methods

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

[Register("convertNV21ToBitmap", "([BIII)Landroid/graphics/Bitmap;", "")]
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)

[Register("convertYUV420toNV21", "(Landroidx/camera/core/ImageProxy;)[B", "")]
public static byte[] ConvertYUV420toNV21(IImageProxy image)

Parameters

image IImageProxy

Returns

byte[]

ConvertYUV420toNV21Fast(IImageProxy)

[Register("convertYUV420toNV21Fast", "(Landroidx/camera/core/ImageProxy;)[B", "")]
public static byte[] ConvertYUV420toNV21Fast(IImageProxy image)

Parameters

image IImageProxy

Returns

byte[]