Installation Requirement
- rmagick
$ apt-get install imagemagick libmagickwand-dev
$ gem install rmagick
$ make
$ make install
Put whatever texts you want convert to images in data.json
in following format
[
{
"text": "text...",
"category": "category..."
},
{
"text": "text...",
"category": "category..."
},
{
"text": "text...",
"category": "category..."
}
...
]
You need texi.config.json
only if you want to use custom fonts.
{
"font": "./fonts/BalooPaaji2-Bold.ttf"
}
$ texi
Will generate images and store them in images/<category>/<image-no>.jpg
.