Status: Unconfirmed
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1611 by gdv1...@
gmail.com: FPDF_RenderPage() method takes a long time to render the page
https://bugs.chromium.org/p/pdfium/issues/detail?id=1611What steps will reproduce the problem?
Run the following test with the attached PDF:
TEST_F(CPDFParserEmbedderTest, SlowPdfOpen) {
auto start = high_resolution_clock::now();
EXPECT_TRUE(EmbedderTest::OpenDocument(
"example_1.pdf"));
FPDF_PAGE page = EmbedderTest::LoadPage(0);
ASSERT_TRUE(page);
ScopedFPDFBitmap page_bitmap = EmbedderTest::RenderPage(page);
auto stop = high_resolution_clock::now();
auto duration = duration_cast<microseconds>(stop - start);
cout << "Time taken by function: " << duration.count() << " microseconds"
<< endl;
WriteBitmapToPng(page_bitmap.get(), "results.png");
}
What is the expected output? What do you see instead?
Page rendering takes about 200s. Looking for a way to reduce the render time.
What version of the product are you using? On what operating system?
PDFium v4103. OS Windows 10.
Please provide any additional information below.
Acrobat Reader opens the file in a few seconds
Attachments:
example_1.pdf 3.4 MB
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings