#include "ltimgkrn.h"

L_LTIMGKRN_API L_INT L_ImgKrnCreateImage(bitmap, structSize, image, options)

BITMAPHANDLE *bitmap; Pointer to the bitmap handle
L_UINT structSize; Size of the BITMAPHANDLE structure
const L_ImgKrnImage *image; image data holder handle
const L_ImgKrnCreateImageOptions *options; creation options

Initializes and allocates a bitmap from an image data holder (L_ImgKrnImage).

Parameter Description
bitmap Pointer to the bitmap handle referencing the bitmap to be created.
structSize Size in bytes, of the structure pointed to by bitmap, for versioning. Use sizeof(BITMAPHANDLE).
image Image properties and the data holder to create the bitmap.
options Pointer to the creation options.


SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.


Typically, this function is used create a BITMAPHANDLE from the buffer passed and image properties passed by L_ImgKrnImage.

Required DLLs and Libraries

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64, Linux.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help