Am 17.02.2022 um 20:20 schrieb Tilman Hausherr:
I looked at that content stream again, it seems you're using a pattern "color". IIRC there's a PDFBox weakness with patterns that are very small.

See also the first file from

https://github.com/mozilla/pdf.js/issues/9627

Tilman




Tilman

Am 17.02.2022 um 13:04 schrieb Stefan Sauerer:
Hi Tilman,

so played around a liitle bit with the PDFDebugger tool (in 2.0.25 & 3.0 alpha). It is interesting, that the watermark gets displayed at a zoom level of about 200%. The font itself is very big. So I think, it has nothing to do with some sort of "rendering-optimization" for small objects. For default zoom level (100%) the watermark is not shown at all.
(And there are no interesting logs - just "Parsing took xx ms")

So I increased the quality of the rendering by using a much higher dpi value - and there it is. For a high dpi, the watermark gets rendered onto the image (we are talking about a resolution of 1488x2104) Reducing the rendering quality to a resolution (let's say 744x1052) the watermark gets not rendered.

How can that be? Why does the watermark get discarded for lower quality?

Thanks in advance & Kind regards from the CAS Campus

Stefan Sauerer

Software Engineer DevelopmentCenter SmartApp Factory

CAS Software AG· CAS-Weg 1 -5 · 76131 Karlsruhe, Germany · Phone: +49 721-9638-0 Successful relationships. www.cas.de/en<http://www.cas.de/en> · linkedin<http://www.linkedin.com/company/cas-software-ag>
Legals: http://www.cas.de/en/impressum.html

Executive board: Martin Hubschneider
Supervisory board: Dr. Dr. Jörg Maurer (chair) · Prof. Dr. Peter Lockemann · Kurt Sibold Head Office: Karlsruhe · County Court Mannheim · Register of Companies Number: HRB 108751 ·
VAT Identification Number: DE14359314



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to