../src/common/mstream.cpp(196): assert "buffer" failed in CopyTo(): must have buffer to CopyTo
Code: Select all
int tpl = pdfile.ImportPage(1);
Jim
../src/common/mstream.cpp(196): assert "buffer" failed in CopyTo(): must have buffer to CopyTo
Code: Select all
int tpl = pdfile.ImportPage(1);
IMHO the PDF file is somewhat crippled, because it contains an absolutely empty page content stream. And this empty stream caused the assertion.dkaip wrote:Hello. In certain pdf file that i upload there is problem inserting the page.../src/common/mstream.cpp(196): assert "buffer" failed in CopyTo(): must have buffer to CopyToCode: Select all
int tpl = pdfile.ImportPage(1);