Text To Png Cli (txt2png)

This crate provides a command-line application for rendering simple text to an image

Usage

This is a classic clap app, you can see all the options with -h

```console kguthrie@home text-to-png % ./txt2png -h Text To Png Cli 0.1.0 Kevin G. kevin.guthrie@gmail.com Renders text to a png with some options

USAGE: txt2png [OPTIONS] --output [text]...

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -c, --color Color of the text: e.g. Brown, #45A2f4, 666 [default: Orange Red] -o, --output Path of the file to write the rendered png -s, --font-size Font height in pixels [default: 64]

ARGS: ... All trailing arguments will be treated as the text to render ```

To render text into a png file, run:

console kguthrie@home text-to-png % ./txt2png -o text.png -c DarkTurquoise -s 64 Rénder this, brö

And you'll get

Rendered Text Image