img

package
v0.0.0-...-b570683 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeFromPNG

func DecodeFromPNG(path string) error

func EncodeToPNG

func EncodeToPNG(of string, il []common.FileInfo) error

func ReadFromPNG

func ReadFromPNG(fName string) (image.Image, error)

func WriteToPNG

func WriteToPNG(i image.Image, fName string) error

Types

type CDS

type CDS struct {
	Width  int
	Height int
}

CDS is a container for excerpt from https://en.wikipedia.org/wiki/Computer_display_standard

func (CDS) Capacity

func (ss CDS) Capacity() int

func (CDS) WillAccommodate

func (ss CDS) WillAccommodate(cap int) bool

Jump to

Keyboard shortcuts

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