It doesn’t annoy you the fact that after spending hours doing let’s say an illustration, you put it online with the intention of selling it or just share with the world, when suddenly everyone has it without giving you any credit and earnings being lower than what you expected?.
The idea to create Watermark came from an original article from the same author named “How to create transparency in images with canvas”, which studied the main concept behind the creation of watermarks. The basic steps to construct a watermark are:
- Add your image into the canvas element.
- Loop thru the image and set pixel by pixel the alpha value of your choice.
- Get the canvas’ data URL.
Your watermark doesn’t have to be a .PNG or .GIF file with transparency, because Watermark creates transparency even if you defined a .JPG as your watermark picture. Visiting the official site will grant you access to the complete documentation, free download link and a couple of nice demos plus:
- Complete code in the main tutorial.
- Adjustment parameters explained.
- Logical part explained and easy to understand.