flyingsaucerproject / flyingsaucer

XML/XHTML and CSS 2.1 renderer in pure Java
Other
1.95k stars 549 forks source link

HTML to PDF - Blur the page #331

Open Harita-Nealife opened 1 month ago

Harita-Nealife commented 1 month ago

`

This is test msg

`

I have created PDF using above code. But it doesn't have blurry effect. Any suggestions?

Panossa commented 3 days ago

@Harita-Nealife this converter (SADLY) only supports CSS 2.1, not CSS 3. So this is not supported and probably never will be, since an update to CSS 3 is too great of an undertaking. Not even the other big html2pdf exporter supports anything beyond CSS 2.1.

Harita-Nealife commented 3 days ago

@Panossa Thanks for the input. Is there any other way to blur the content ?

Panossa commented 3 days ago

Not that I know of. You may try to use Google advanced search to search for stackoverflow posts from before CSS3 was released, though. Something like "css blur before:YYYY-MM-DD"

Harita-Nealife commented 3 days ago

Okay !! Thank you so much for your input.