L_StopDithering

Summary

Cleans up all data variables and buffers allocated by the L_StartDithering and L_DitherLine functions. This function resets all internal variables to their default settings.

Syntax

#include "l_bitmap.h"

L_LTKRN_API L_INT L_StopDithering(pBitmap)

Parameters

pBITMAPHANDLE pBitmap

Address of the bitmap handle that describes the bitmap that was dithered. It is the same bitmap handle that was specified in the L_StartDithering function.

Returns

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

Comments

This function does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this function.

For a description of how the functions relate to each other, refer to L_StartDithering.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_StartDithering.

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.