7 stable releases

3.0.0 Jul 5, 2023
2.0.0 May 7, 2023
1.2.1 May 7, 2023
1.1.1 Feb 13, 2021

#2752 in Command line utilities

AGPL-3.0-only

32KB
277 lines

Label converter

Description

Turn HTML string into png for label printing

Usage

See wiki for full usage

Basic usage

This will print generated png file in bytes in json list label-converter --header "<p>I'm a header</p>" --body "<h1>I'm body</h1><p>Nice to meet you! :3</p>" --footer "<p>I'm a footer</p>" --width 240 --height 240 --debug
Output:

[[73,69,78,68,174,66,96,130..]]

Image of outputting png file

Print help text

Simply run this label-converter -h or label-converter --help for long help.

Author

Miika Launiainen

Donating

If you want to support me, feel free to use paypal Donate

License

This library is licensed under GPLv3

Dependencies

~10MB
~158K SLoC