Skip to main content

Package for drawing images of M@B Bannerlord banners from community created banner codes.

Project description

blib - Banner Library

Library for drawing images of community created banners in M&B Bannerlord game.

Get started

Download the source images in img/

$ git clone -b source-img; \
mv blib/img img/; \
rm -rf blib

Install blib

$ pip install blib

Example usage

from blib import blib_init, Banner, Files

blib_init(out='out/', src='img/')
code = ''
b = Banner(code).rescale(0.5).crop(650, 500).save(Files.Format.PNG)


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for blib, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size blib-0.0.3-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size blib-0.0.3.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page