Interface for CDitherRemoval wrapper.
More...
Go to the source code of this file.
Interface for CDitherRemoval wrapper.
◆ CDitherRemoval_Create()
| CDitherRemoval CDitherRemoval_Create |
( |
const CIDRS |
argIDRS, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Creates a new CDitherRemoval object.
- Parameters
-
| argIDRS | The iDRS |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Returns
- The newly created CDitherRemoval object.
◆ CDitherRemoval_Destroy()
| void CDitherRemoval_Destroy |
( |
CDitherRemoval |
argCDitherRemoval, |
|
|
idrs_exception * |
pargException |
|
) |
| |
Destroys a CDitherRemoval handle.
- Parameters
-
| argCDitherRemoval | CDitherRemoval handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
◆ CDitherRemoval_RemoveDither()
| void CDitherRemoval_RemoveDither |
( |
const CDitherRemoval |
argCDitherRemoval, |
|
|
CImage |
argImage, |
|
|
idrs_exception * |
pargException |
|
) |
| |
RemoveDither applies the dither removal algorithm to the supplied image. The result will be stored in the same image.
- Parameters
-
| argCDitherRemoval | CDitherRemoval handle |
| argImage | Image where the dither removal algorithm will be executed |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
- Exceptions
-
| The | function throws CIDRSException if the supplied image is not black & white |