graphics

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrintWidth = 384 // the width of the printed image, required by the printer.

)

Variables

This section is empty.

Functions

func ConvertImage

func ConvertImage(filename string) (*image.Gray, error)

ConvertImage converts the given image file in a grayscale dithered image, scaled down to the width required by the printer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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