danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.93k stars 359 forks source link

Resizing images ? #846

Closed raph-o closed 1 year ago

raph-o commented 2 years ago

Hi, I'm currently testing this api and flyingsaucer and I may choose openhtml instead because of rtl text support. But I'm having an issue with pictures that are too big to fit in the final document. With flyingsaucer, I'm able to use a custom ReplacedElementFactory, but I haven't found this possibility with openhtml. Is there a way to do it ?