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

how can I watermark to the svg output? #35

Open
laikee99 opened this issue May 24, 2021 · 2 comments
Open

how can I watermark to the svg output? #35

laikee99 opened this issue May 24, 2021 · 2 comments

Comments

@laikee99
Copy link

Hi,
I want to add watermark on the output, is There any suggestions?
I don't want to simply add text or picture path on svg, and don't want to add watermark on the pdf.
Thanks.

@dawbarton
Copy link
Owner

I'm not sure what you are trying to achieve - something that subtly alters the SVG to identify it?

To add a watermark in general, PDF2SVG isn't really going to be appropriate. I'd use qpdf to add one and then convert to SVG. (Or convert to SVG then use the command line interface to inkscape.)

@laikee99
Copy link
Author

I'm not sure what you are trying to achieve - something that subtly alters the SVG to identify it?

To add a watermark in general, PDF2SVG isn't really going to be appropriate. I'd use qpdf to add one and then convert to SVG. (Or convert to SVG then use the command line interface to inkscape.)

Thank you for reply,
I just want to add a water mark that can not be removed by delete style or path in svg.

There is another question about pdf2svg only can transform one page in some special pdf, if I set a page param, it will say:"Page does not exist",

For example like this pdf: https://cyberleninka.org/article/n/622244.pdf
Thanks.

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

2 participants