mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
PdfReader - test project, fix image renderer
This commit is contained in:
@ -442,7 +442,7 @@ bool CBgraFrame::SaveFile(const std::wstring& strFileName, unsigned int nFileTyp
|
||||
return false;
|
||||
|
||||
CxImage img;
|
||||
if (!img.CreateFromArray(m_pData, m_lWidth, m_lHeight, lBitsPerPixel * 8, lStride, (m_lStride >= 0) ? true : false));
|
||||
if (!img.CreateFromArray(m_pData, m_lWidth, m_lHeight, lBitsPerPixel * 8, lStride, (m_lStride >= 0) ? true : false))
|
||||
return false;
|
||||
|
||||
if (!img.Encode(oFile.GetFileNative(), nFileType))
|
||||
|
||||
Reference in New Issue
Block a user