Hi,

Am 18.06.24 um 01:10 schrieb Rich Stafford:
I have a simplified PDF case that renders (using PDFBox) differently between 
JPG and SVG output modes.
PDFBox doesn't have a SVG output mode. I guess you are using some code/tool from the Apache XMLGraphics project so that you might ask them for help.

https://xmlgraphics.apache.org/

Andreas


This PDF has a simple line element, and a lime colored rectangle that is filled 
with some lime color horizontal lines and shows the black line behind it.

When rendering to JPG, it matches the input PDF.

When rendered to SVG, the rectangle is filled with opaque black.

I am using PDFBox 3.0.2, and Batik 1.17.

The following link is to an open share of a file 't2.zip.  In this zip is:

   t2.pdf       the PDF being rendered
   t2.jpg               the rendered JPG file
   t2.svg       the rendered SVG file

https://drive.google.com/file/d/1qbuM6O-yNdbr8Ip32q6jp0Z9demfSZBe/view?usp=sharing

Any help or advice would be appreciated!

Rich Stafford
Chief Scientist
eQuorum Corporation


---------------------------------------------------------------------
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