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

Interface for CResize wrapper. More...

Go to the source code of this file.

Functions

CResize CResize_Create (const CIDRS argIDRS, idrs_exception *pargException)
 Creates a new CResize object.
 
void CResize_Resize (const CResize argCResize, CImage argImage, IDRS_UINT const uiPercentage, idrs_exception *pargException)
 Resize resizes the image.
 
void CResize_Resize2 (const CResize argCResize, CImage argImage, IDRS_UINT const uiNewWidth, IDRS_UINT const uiNewHeight, idrs_exception *pargException)
 Resize resizes the image.
 
void CResize_ResizeToResolution (const CResize argCResize, CImage argImage, IDRS_UINT const uiTargetResolution, idrs_exception *pargException)
 Resize resizes the image to a new target resolution.
 
void CResize_Destroy (CResize argCResize, idrs_exception *pargException)
 Destroys a CResize handle.
 

Detailed Description

Interface for CResize wrapper.

Function Documentation

◆ CResize_Create()

CResize CResize_Create ( const CIDRS  argIDRS,
idrs_exception *  pargException 
)

Creates a new CResize object.

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

◆ CResize_Destroy()

void CResize_Destroy ( CResize  argCResize,
idrs_exception *  pargException 
)

Destroys a CResize handle.

Parameters
argCResizeCResize handle to destroy
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CResize_Resize()

void CResize_Resize ( const CResize  argCResize,
CImage  argImage,
IDRS_UINT const  uiPercentage,
idrs_exception *  pargException 
)

Resize resizes the image.

Parameters
argCResizeCResize handle
argImageThe image to resize
uiPercentageThe resize percentage.
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CResize_Resize2()

void CResize_Resize2 ( const CResize  argCResize,
CImage  argImage,
IDRS_UINT const  uiNewWidth,
IDRS_UINT const  uiNewHeight,
idrs_exception *  pargException 
)

Resize resizes the image.

Parameters
argCResizeCResize handle
argImageThe image to resize
uiNewWidthThe new width.
uiNewHeightThe new height.
pargExceptionPointer to exception structure that will be filled if an exception occurs

◆ CResize_ResizeToResolution()

void CResize_ResizeToResolution ( const CResize  argCResize,
CImage  argImage,
IDRS_UINT const  uiTargetResolution,
idrs_exception *  pargException 
)

Resize resizes the image to a new target resolution.

Parameters
argCResizeCResize handle
argImageThe image to resize
uiTargetResolutionThe new resolution.
pargExceptionPointer to exception structure that will be filled if an exception occurs