image

package
v0.0.0-...-0de60d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CharSize = charWidth * charHeight

CharSize is the amount of bytes per character

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	*image.Gray
	// contains filtered or unexported fields
}

Image is the output image and holds a counter for the character count

func NewInputImage

func NewInputImage() *Image

NewInputImage creates a new output image

func NewOutputImage

func NewOutputImage() *Image

NewOutputImage creates a new output image

func (*Image) Read

func (i *Image) Read(buffer []byte) (count int, err error)

func (*Image) Write

func (i *Image) Write(buffer []byte) (count int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL