iDRS™ SDK 16
Loading...
Searching...
No Matches
CDitherRemoval_interface.h File Reference

Interface for CDitherRemoval wrapper. More...

Go to the source code of this file.

Functions

CDitherRemoval CDitherRemoval_Create (const CIDRS argIDRS, idrs_exception *pargException)
 Creates a new CDitherRemoval object.
 
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.
 
void CDitherRemoval_Destroy (CDitherRemoval argCDitherRemoval, idrs_exception *pargException)
 Destroys a CDitherRemoval handle.
 

Detailed Description

Interface for CDitherRemoval wrapper.

Function Documentation

◆ CDitherRemoval_Create()

CDitherRemoval CDitherRemoval_Create ( const CIDRS  argIDRS,
idrs_exception *  pargException 
)

Creates a new CDitherRemoval object.

Parameters
argIDRSThe iDRS
pargExceptionPointer to exception structure that will be filled if an exception occurs
Returns
The newly created CDitherRemoval object.
Remarks
Instances created by this method can also be provided to CImageOperation methods

◆ CDitherRemoval_Destroy()

void CDitherRemoval_Destroy ( CDitherRemoval  argCDitherRemoval,
idrs_exception *  pargException 
)

Destroys a CDitherRemoval handle.

Parameters
argCDitherRemovalCDitherRemoval handle to destroy
pargExceptionPointer 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
argCDitherRemovalCDitherRemoval handle
argImageImage where the dither removal algorithm will be executed
pargExceptionPointer to exception structure that will be filled if an exception occurs
Exceptions
Thefunction throws CIDRSException if the supplied image is not black & white