Functions | |
void | CxImage::Clear (BYTE bval=0) |
void | CxImage::Copy (const CxImage &src, bool copypixels=true, bool copyselection=true, bool copyalpha=true) |
void * | CxImage::Create (DWORD dwWidth, DWORD dwHeight, DWORD wBpp, DWORD imagetype=0) |
bool | CxImage::CreateFromArray (BYTE *pArray, DWORD dwWidth, DWORD dwHeight, DWORD dwBitsperpixel, DWORD dwBytesperline, bool bFlipImage) |
bool | CxImage::CreateFromMatrix (BYTE **ppMatrix, DWORD dwWidth, DWORD dwHeight, DWORD dwBitsperpixel, DWORD dwBytesperline, bool bFlipImage) |
bool | CxImage::Destroy () |
void | CxImage::FreeMemory (void *memblock) |
bool | CxImage::Transfer (CxImage &from) |
|
Sets the image bits to the specified value
|
|
Copies the image from an exsisting source
|
|
Initializes or rebuilds the image.
|
|
Creates an image from a generic buffer
|
|
|
|
Call this function to destroy image pixels, alpha channel, selection and sub layers.
|
|
simply calls "if (memblock) free(memblock);". Useful when calling Encode for a memory buffer, from a DLL compiled with different memory management options. CxImage::FreeMemory will use the same memory environment used by Encode. |
|
Transfers the image from an existing source image. The source becomes empty.
|