Add watermark plugin

This commit is contained in:
Abdul Qabiz
2015-03-02 20:55:37 +05:30
parent bc42a1dca9
commit cf9866f9c1
5 changed files with 87 additions and 2 deletions

View File

@@ -10,10 +10,12 @@ keep_orig = True
links = [('Example link', 'http://example.org'),
('Another link', 'http://example.org')]
plugins = ['sigal.plugins.adjust', 'sigal.plugins.copyright']
plugins = ['sigal.plugins.adjust', 'sigal.plugins.copyright', 'sigal.plugins.watermark']
copyright = u"© An example copyright message"
adjust_options = {'color': 0.0, 'brightness': 1.0,
'contrast': 1.0, 'sharpness': 0.0}
watermark = "watermark.png"
watermark_position = "tile"
watermark_opacity = 0.3
# theme = 'galleria'
# thumb_size = (280, 210)

BIN
tests/sample/watermark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB