'add watermark while uploading a file to firebase
I have a input field where a user uploads his/her pdf file which is then uploaded to firebase storage in vanilla javascript(Modular). Now i want to add a watermark to this pdf before uploading to firebase. I wanted to know how this could be done.
Extending this idea I also might need this for a image(jpeg/png) files.
Note: I have seen other similar stackoverflow answers but it is giving the watermark while rendering on the webpage and not while uploading.
Any Help is Appreciated!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|