Versions in this module Expand all Collapse all v0 v0.0.3 Jun 16, 2019 Changes in this version + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (d *Decoder) Decode() (image.Image, error) + func (d *Decoder) WithThreshold(t Threshold) *Decoder + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (e *Encoder) Encode(img image.Image) error type Gray + Threshold Threshold + func (p *Gray) ColorModel() color.Model + type Threshold int + const DefaultThreshold + func (cm Threshold) Convert(c color.Color) color.Color + func (cm Threshold) Inverse() Threshold v0.0.2 Jun 16, 2019 Changes in this version + func Decode(r io.Reader) (image.Image, error) + func DecodeConfig(r io.Reader) (image.Config, error) + func Encode(w io.Writer, img image.Image) error + type Gray struct + Rect image.Rectangle + func Convert(img image.Image) *Gray + func NewGray(r image.Rectangle) *Gray + func (p *Gray) BrailleAt(col, row int) rune + func (p *Gray) Clear() + func (p *Gray) Set(x, y int, c color.Color) + func (p *Gray) SetBraille(x, y int, c color.Color)