is_SetImageMem

uEye Camera Manual Version 4.90


is_SetImageMem

Windows_Logo
Linux_Logo

USB 2.0

USB 3.0

GigE

USB 2.0

USB 3.0

GigE

Syntax

INT is_SetImageMem (HIDS hCam, char* pcImgMem, INT id)

Description

is_SetImageMem() makes the specified image memory the active memory. Only an active image memory can receive image data. When you call is_FreezeVideo(), the captured image is stored in the image buffer designated by pcImgMem and id. For pcImgMem, you must pass a pointer which was created by is_AllocImageMem(), passing any other pointer will result in an error message. You may pass the same pointer multiple times.

hint_info

In the Direct3D or OpenGL modes, there is no need to set an image memory.

Input parameters

hCam

Camera handle

pcImgMem

Pointer to the starting position in the memory.

id

ID of this memory.

Return values

IS_INVALID_CAMERA_HANDLE

Invalid camera handle

IS_NO_SUCCESS

General error message

IS_SUCCESS

Function executed successfully

Related functions

•is_AllocImageMem()

•is_FreeImageMem()

•is_AddToSequence()

•is_SetAllocatedImageMem()

•is_GetColorDepth()

•is_GetImageMem()

•is_GetImageMemPitch()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!
For technical questions please contact your local distributor or use the support form on our website.


© 2017 IDS Imaging Development Systems GmbH
http://en.ids-imaging.com