Starts the fast magic wand engine.
#include "ltwrappr.h"
L_INT LBitmap::StartFastMagicWandEngine(pMagicWnd, uFlags = 0)
Pointer to a MAGICWANDHANDLE. This handle is needed to be used in the fast magic wand operation.
Reserved for future use. Must be 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
LBitmap::StartFastMagicWandEngine must be called before calling LBitmap::FastMagicWand and LBitmap::EndFastMagicWandEngine.
When the handle to the MAGICWANDHANDLE is no longer needed, it should be freed by calling LBitmap::EndFastMagicWandEngine. For every call to LBitmap::StartFastMagicWandEngine there must be a call to LBitmap::EndFastMagicWandEngine.
This function supports 1, 8, and 24-bit images.
This function does not support 32-bit grayscale images. It returns the error code ERROR_GRAY32_UNSUPPORTED if a 32-bit grayscale image is passed to this function.
Win32, x64.
For an example, refer to LBitmap::FastMagicWand.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document