L_StopDithering (original) (raw)
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
- LTKRN
- 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
- Raster Image Functions: Doing Color Expansion or Reduction
- Raster Image Functions: Doing Color Space Conversions
Example
For an example, refer to L_StartDithering.
LEADTOOLS Raster Imaging C API Help