Developing

This commit is contained in:
Oleg Korshul
2022-08-02 17:40:35 +03:00
parent 8ea92919c0
commit 549b8353e9
5 changed files with 107 additions and 0 deletions

View File

@ -526,6 +526,11 @@ bool CBgraFrame::Encode(BYTE*& pBuffer, int& nSize, unsigned int nFileType)
return oCxImage.Encode(pBuffer, nSize, nFileType);
}
void CBgraFrame::FreeEncodedMemory(void* pMemory)
{
CxImage oCxImage;
oCxImage.FreeMemory(pMemory);
}
bool CBgraFrame::Resize(const long& nNewWidth, const long& nNewHeight, bool bDestroyData)
{
CxImage img;