PdfReader - test project, fix image renderer

This commit is contained in:
ElenaSubbotina
2018-05-03 18:12:51 +03:00
parent 34bb84a792
commit a571c88798
11 changed files with 848 additions and 229 deletions

View File

@ -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))