L_ImgKrnCreateImage

#include "ltimgkrn.h"

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

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

Parameters

BITMAPHANDLE *bitmap

Pointer to the bitmap handle referencing the bitmap to be created.

L_UINT structSize

Size in bytes, of the structure pointed to by bitmap, for versioning. Use sizeof(BITMAPHANDLE).

const L_ImgKrnImage *image

Image properties and the data holder to create the bitmap.

const L_ImgKrnCreateImageOptions *options

Pointer to the creation options.

Returns

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

Comments

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

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

Help Version 20.0.2019.9.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help