7#ifndef CIMAGE_INTERFACE_H
9#define CIMAGE_INTERFACE_H
Interface for CIDRS wrapper.
IDRS_UINT CImage_GetHeight(const CImage argCImage, idrs_exception *pargException)
Gets the image width, in pixels.
IDRS_UINT CImage_GetImageSize(const CImage argCImage, idrs_exception *pargException)
Gets the image size, in bytes.
void CImage_CreateBitmap(CImage argCImage, IDRS_UINT const uiWidth, IDRS_UINT const uiHeight, enum ColorMode const colorMode, IDRS_UINT const uiResolution, idrs_exception *pargException)
CreateBitmap modifies the current image buffer to fit to the specified characteristics.
CImage CImage_Clone(const CImage argCImage, idrs_exception *pargException)
Clone the current image.
IDRS_BOOL CImage_IsDefaultResolution(const CImage argCImage, idrs_exception *pargException)
Provides the information, if the current resolution parameter is the default one.
IDRS_UINT CImage_GetResolution(const CImage argCImage, idrs_exception *pargException)
Gets the image resolution.
void CImage_SetResolution(CImage argCImage, IDRS_UINT const uiResolution, idrs_exception *pargException)
CImage CImage_Create3(const CImage argImage, idrs_exception *pargException)
Creates an image and initializes it with the content of the supplied image parameter.
IDRS_UINT CImage_GetBitsPerPixel(const CImage argCImage, idrs_exception *pargException)
Gets the image bit per pixels info.
void CImage_CreateBitmap2(CImage argCImage, IDRS_UINT const uiWidth, IDRS_UINT const uiHeight, enum ColorMode const colorMode, IDRS_UINT const uiResolution, ILineReader lrLineReader, idrs_exception *pargException)
CreateBitmap modifies the current image buffer to meet the characteristics and sets its lines using t...
CImage CImage_Create2(CIDRS argIDRS, IDRS_UINT32 const uiWidth, IDRS_UINT32 const uiHeight, enum ColorMode const colorMode, IDRS_UINT32 const uiResolution, idrs_exception *pargException)
Create creates an image buffer with the given characteristics.
IDRS_UINT CImage_GetByteWidth(const CImage argCImage, idrs_exception *pargException)
Gets the image byte width.
const CIDRS CImage_GetIDRS(const CImage argCImage, idrs_exception *pargException)
Returns the CIDRS handle used.
IDRS_UINT CImage_GetWidth(const CImage argCImage, idrs_exception *pargException)
Gets the image width, in pixels.
CImagePixels CImage_GetImagePixels(const CImage argCImage, idrs_exception *pargException)
Gets the image pixels data.
CImage CImage_Create(CIDRS argIDRS, idrs_exception *pargException)
Create creates an empty image.
void CImage_Destroy(CImage argCImage, idrs_exception *pargException)
Destroys a CImage handle.
enum ColorMode CImage_GetColorMode(const CImage argCImage, idrs_exception *pargException)
Returns the color mode of the image.
Interface for CImageLoadOptions wrapper.
Interface for CImagePixels wrapper.
Interface for CImageSaveOptions wrapper.
Interface for CObjPtr wrapper.
Interface for EnumDefinitions wrapper.
ColorMode
The image color modes handles by iDRS.
Definition EnumDefinitions_interface.h:1396
Interface for IByteStream wrapper.
The CImage class manages images for iDRS.
The CImagePixels class handles the pixels of an image.
The ILineReader defines the interface required to provide a custom line reader.