forked from thumbor/thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
Watermark
cezarsa edited this page Feb 26, 2012
·
2 revisions
Usage: watermark(imageUrl,x,y,alpha)
This filter adds a watermark to the image.
- imageUrl - Watermark image URL. It is very important to understand that the same image loader that Thumbor uses will be used here.
- x - Horizontal position that the watermark will be in. Positive numbers indicate position from the left and negative numbers indicate position from the right.
- y - Vertical position that the watermark will be in. Positive numbers indicate position from the top and negative numbers indicate position from the bottom.
- alpha - Watermark image transparency. Should be a number between 0 (fully opaque) and 100 (fully transparent).
http://thumbor-server/filters:watermark(http://my.site.com/img.png,-10,-10,50)/some/image.jpg
Picture before the watermark filter
Picture after the watermark filter