Fix bug 66523

This commit is contained in:
Svetlana Kulikova
2024-06-04 13:22:18 +03:00
parent 15247d39f0
commit 29ef74770a

View File

@ -3077,8 +3077,8 @@ namespace PdfReader
dWidth = dWidth * dDpiX / 25.4;
dHeight = dHeight * dDpiY / 25.4;
int nWidth = round(dXStep * dWidth / pGState->getPageWidth());
int nHeight = round(dYStep * dHeight / pGState->getPageHeight());
int nWidth = dXStep * dWidth / pGState->getPageWidth();
int nHeight = dYStep * dHeight / pGState->getPageHeight();
BYTE* pBgraData = new BYTE[nWidth * nHeight * 4];
memset(pBgraData, 0, nWidth * nHeight * 4);