Documentation
¶
Index ¶
Constants ¶
View Source
const (
// BrailleBaseRune is the Unicode code point for the first braille character (empty)
BrailleBaseRune = '\u2800'
)
Variables ¶
This section is empty.
Functions ¶
func CreateBrailleChar ¶
CreateBrailleChar creates a braille character from a 2x4 grid of pixels Pixels marked as true will be represented as dots in the braille character
func InvertBraillePattern ¶
InvertBraillePattern inverts all pixels in a braille pattern
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter handles the image to braille conversion
func NewConverter ¶
NewConverter creates a new Converter with the given configuration
Click to show internal directories.
Click to hide internal directories.