Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS opacity issue #584

Open
alijanik opened this issue Jul 12, 2023 · 0 comments
Open

CSS opacity issue #584

alijanik opened this issue Jul 12, 2023 · 0 comments

Comments

@alijanik
Copy link

I am creating an HTML and then converting it to a PDF file by using the below line:
PdfConverterExtension.exportToPdf(byteArrayOutputStream, htmlWithCss, "", BaseRendererBuilder.TextDirection.LTR);

I have a watermark CSS in my HTML and I tested both of the following CSS for transparency:

  • color: rgba(211,211,211,0.1);
  • color: #D3D3D3; opacity: 0.1;

But unfortunately, none of them works. I think the converter does not support it!
Do you have any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant