Issue 1600 in pdfium: FPDF_RenderPage() renders the large image page as blank

85 views
Skip to first unread message

gdv1… via monorail

unread,
Oct 22, 2020, 2:17:43 PM10/22/20
to pdfiu...@googlegroups.com
Status: Unconfirmed
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1600 by gdv1...@gmail.com: FPDF_RenderPage() renders the large image page as blank
https://bugs.chromium.org/p/pdfium/issues/detail?id=1600

What steps will reproduce the problem?
Run the following test with the attached PDF:

TEST_F(CPDFParserEmbedderTest, BlankPage) {

EXPECT_TRUE(EmbedderTest::OpenDocument(
"problem."pdf"));
FPDF_PAGE page = EmbedderTest::LoadPage(0);
ASSERT_TRUE(page);
ScopedFPDFBitmap page_bitmap = EmbedderTest::RenderPage(page);

WriteBitmapToPng(page_bitmap.get(), "blankPageResults.png");
CloseDocument();

}

Or open the attached PDF in the Chrome browser.

What is the expected output? What do you see instead?
Expected image with content, but a blank image is returned.

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 can open this PDF

Attachments:
problem.pdf 6.3 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

n… via monorail

unread,
Oct 22, 2020, 2:30:19 PM10/22/20
to pdfiu...@googlegroups.com
Updates:
Status: Available

Comment #1 on issue 1600 by ni...@chromium.org: FPDF_RenderPage() renders the large image page as blank
https://bugs.chromium.org/p/pdfium/issues/detail?id=1600#c1

This PDF is rendered blank in chrome browser across platforms. On a Windows 10 machine, when Acrobat opens it, the image was rendered fairly slowly.

ivars… via monorail

unread,
Oct 23, 2020, 10:32:08 AM10/23/20
to pdfiu...@googlegroups.com

Comment #2 on issue 1600 by ivars...@gmail.com: FPDF_RenderPage() renders the large image page as blank
https://bugs.chromium.org/p/pdfium/issues/detail?id=1600#c2

It is one, CCITT encoded image. but it is a bit large… 70880 x 19866 (118" by 33" @600dpi)
I used pdftk to burst the original pdf, and it was able to process it fine.
Sumatra also fails with a blank page.
Reply all
Reply to author
Forward
0 new messages