epd

package
v0.0.0-...-c755e4f Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertImage

func ConvertImage(input *io.Reader, width int, height int) ([]byte, error)

Converts a GIF, JPEG or PNG into a 16-color grayscale image. A single pixel is represented by 4 bits and each byte holds two pixels. The final 4-bits of the last byte may be discarded if width * height is odd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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