label-converter

Crates.iolabel-converter
lib.rslabel-converter
version3.0.0
sourcesrc
created_at2021-02-09 16:52:05.83263
updated_at2023-07-05 14:27:36.397162
descriptionTurn HTML string into png for label printing
homepagehttps://miicat.eu
repositoryhttps://gitlab.com/miicat/label-converter
max_upload_size
id352839
size79,642
Miika Launiainen (miicat)

documentation

https://gitlab.com/miicat/label-converter/-/wikis/home

README

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

Commit count: 37

cargo fmt