Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_LoadImageMem

uEye Camera Manual Version 3.80

is_LoadImageMem

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_LoadImageMem (HIDS hCam, char* File, char** ppcImgMem, int* pid)

Description

is_LoadImageMem() loads an image from a file. The image must have been saved in BMP format. The image, together with its color format and  color depth properties, is loaded into a newly allocated image memory.

Using the is_FreeImageMem() function, you can release the image memory again.

Input Parameters

hCam

Camera handle

File

Filename You can either pass an absolute or a relative path.

If NULL is passed, the "Open File" dialog opens.

ppcImgMem

Pointer to a variable containing the starting address

pid

Pointer to a variable containing the memory ID

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

IS_FILE_READ_INVALID_BMP_ID

Bitmap format of the image to be loaded is invalid.

IS_FILE_READ_OPEN_ERROR

File cannot be opened.

Related Functions

Is_LoadImage()
is_GetImageMem()
is_SetImageMem()
is_SaveImage()
is_SaveImageEx()
is_SaveImageMem()
is_SaveImageMemEx()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com