Click or drag to resize

ImagesOperatorsFromBuffer Method

Creates a new McImage from an byte array containing the image data.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function FromBuffer ( 
	images As McImages,
	dotnetimgbuf As Byte(),
	openflags As mcImageCreateFlags
) As McImage

Parameters

images
Type: MediaCy.IQL.EngineMcImages
dotnetimgbuf
Type: SystemByte
The buffer storing the image content.
openflags
Type: MediaCy.IQL.EnginemcImageCreateFlags
Image creation flags

Return Value

Type: McImage
A new McImage or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McImages. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This function McImages.Open does not accept byte[]
See Also