utils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidColor = errors.New("invalid color")
View Source
var ErrInvalidSize = errors.New("invalid size")

Functions

func ParseColor

func ParseColor(s string) (color.Color, error)

func ParseFormat

func ParseFormat(s string) (data.ImageFormat, bool)

func ParseSize

func ParseSize(s string) (data.ImageResolution, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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