Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImageOpts

Hierarchy

  • ImageOpts

Index

Properties

bits

bits: number

Number of bits/pixel in source image (only grayscale supported)

defaultvalue

8

chars

chars: NumOrString[]

Target characters in order of increasing brightness (assuming white text on black bg).

defaultvalue

{@link SHADES}

format

format: number

Format to apply to all chars.

gamma

gamma: number

Gamma correction value / exponent. All source pixel values will be raised by this exponent.

defaultvalue

1

invert

invert: boolean

If true, uses inverted pixel values.

defaultvalue

false

Generated using TypeDoc