Table of Contents

Class BitmapDataExtensions

Namespace
NetAutoGUI
Assembly
NetAutoGUI.dll
public static class BitmapDataExtensions
Inheritance
BitmapDataExtensions
Inherited Members

Methods

ToMat(BitmapData, ImreadModes)

Convert the BitmapData into a Mat of OpenCVSharp

public static Mat ToMat(this BitmapData bitmapData, ImreadModes flags = (ImreadModes)-1)

Parameters

bitmapData BitmapData

the bitmap data

flags ImreadModes

the flags

Returns

Mat

the converted Mat(It must be disposed after used)