Skip to content

picharsso draw gradient#

Use the gradient style.

Example

Consider the following image:

Apple logo

Apple Computer [Rob Janoff, 1977]

Here's what it should look like:

Apple logo in text (gradient style)

Usage#

picharsso draw gradient [options]

Options:#

-s, --charset TEXT#

Character set ordered by increasing 'brightness'. [default: :!?PG@]

Example

Consider the following image:

Slack logo

Slack

picharsso draw -c -H 32 docs/assets/images/subjects/slack.webp gradient -s <charset>

Here's what it should look like:

Slack logo in text (default charset)

Slack logo in text (dot charset)

Slack logo in text (hash charset)

Slack logo in text (block charset)

-n, --negative#

Whether to invert output text brightness.

Example

Consider the following image:

GitHub logo

GitHub

picharsso draw -H 32 docs/assets/images/subjects/github.webp gradient [-n]

Here's what it should look like:

GitHub logo in text

GitHub logo in text (negative)

-h, --help#

Show this message and exit.

Message
Usage: picharsso draw gradient [options]

  Use the gradient style.

Options:
  -s, --charset TEXT  Character set ordered by increasing 'brightness'.
                      [default:  :!?PG@]

  -n, --negative      Whether to invert output text brightness.
  -h, --help          Show this message and exit.