L_CopyBitmapData

Summary

Copies image data from one bitmap handle to another. Before calling this function, the target bitmap handle must be initialized and allocated.

Syntax

#include "l_bitmap.h"

L_LTKRN_API L_INT L_CopyBitmapData(pBitmapDst, pBitmapSrc)

Parameters

pBITMAPHANDLE pBitmapDst

Pointer to the bitmap handle referencing the destination bitmap.

pBITMAPHANDLE pBitmapSrc

Pointer to the bitmap handle referencing the source bitmap.

Returns

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

Comments

The target bitmap handle must accurately identify the copied data. Therefore, the initialization function must specify the same bits per pixel, width, and height as the source.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_CreateBitmap.
For complete sample code, refer to the FEATURE3
example.

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.