Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 620 by
lic...@gmail.com: wrong colors and render artifacts when rendering white image from pdf
https://bugs.chromium.org/p/pdfium/issues/detail?id=620What steps will reproduce the problem?
1. render the attached pdf file with pdfium_test --png at different scales,
for example scale 1.0 to 1.6
What is the expected output? What do you see instead?
Expected output:
A white image where all pixels are rgb (255, 255, 255)
Observed output:
Depending on the render scale:
Scale 1.0: A white image where all pixels are rgb (253, 253, 253)
Scale 1.1 to 1.4: A White image composed of a grid-like pattern of lines in rgb (254, 254, 254) and rgb (255, 255, 255)
Scale 1.5: correct color, no artifacts
Scale 1.6: grid-like pattern again
The actual distribution and amount of render artifacts (grid pattern) depends on the scaling factor used.
What version of the product are you using? On what operating system?
current pdfium branch on Arch Linux (chromium/2886), also tested with chromium embedded viewer
Please provide any additional information below.
Since the render artifacts only differ by 1-2 pixels by color value from the expected output these are very hard to spot. You either need a sharp eye and a good monitor or you need to rely on image analysis tools.
Attachments:
blank_page.pdf 2.7 KB
--
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