Python package for text images generation and watermarking
- Free software: MIT license
- Documentation: https://nider.readthedocs.io.
nider is an approach to make generation of text images simple yet flexible. Creating of an image is as simple as describing units you want to be rendered to the image and choosing a method that will be used for drawing.
$ pip install niderCreating a simple image is as easy as
fromnider.modelsimportHeaderfromnider.modelsimportParagraphfromnider.modelsimportLinkbackfromnider.modelsimportContentfromnider.modelsimportImageheader=Header('Your super interesting title!')
para=Paragraph('Lorem ipsum dolor sit amet.')
linkback=Linkback('foo.com | @username')
content=Content(para, header, linkback, padding=60)
img=Image(content, fullpath='result.png')
img.draw_on_bg('#212121')All of the featured images were drawn using nider package. Code used to generate them can be found here.





