Please enable JavaScript to view this site.

uEye .NET Manual 4.97

Class

uEye.Memory

Accessible

Camera.Memory.CopyToArray

Syntax

uEye.Memory.CopyToArray(int s32MemId, out byte[] u8Image)

uEye.Memory.CopyToArray(int s32MemId, uEye.Defines.ColorMode colorMode, out int[] s32Image)

Description

Copies the image of the passed image memory to an array.

We recommend to use the first method call as the second method call only work with 8, 24 and 32 bit color formats.

Parameter

s32MemId

Image memory ID

colorMode

Sets the memory color mode to be used, see Pixelformat

s32Image/u8Image

Returns the array

Obsolete method

uEye.Memory.CopyToArray(int s32MemId, out int[] s32Image)