art

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Background

func Background(raw []byte, frac float64) (*gdk.Texture, error)

func Normalize added in v0.6.0

func Normalize(raw []byte) ([]byte, error)

func Thumbnail

func Thumbnail(raw []byte, size int) (*gdk.Texture, error)

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func New added in v0.6.0

func New(client *http.Client, c *cache.Cache) *Resolver

func (*Resolver) Load

func (r *Resolver) Load(ctx context.Context, artURL string) ([]byte, error)

Jump to

Keyboard shortcuts

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