LEADTOOLS Raster Imaging C DLL Help > Function References > L_StopDithering |
#include "l_bitmap.h"
L_LTKRN_API L_INT L_StopDithering(pBitmap)
pBITMAPHANDLE pBitmap; |
/* address of the bitmap handle */ |
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.
Parameter |
Description |
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
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
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64, Linux.
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to L_StartDithering.