dynamicimage

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadTile

func DownloadTile(ctx context.Context, conf *config.Config, pt image.Point) (image.Image, error)

Types

type DynamicImage

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

func New

func New(ctx context.Context, conf *config.Config, opts ...Option) (*DynamicImage, error)

func (*DynamicImage) At

func (d *DynamicImage) At(x, y int) color.Color

func (*DynamicImage) Bounds

func (d *DynamicImage) Bounds() image.Rectangle

func (*DynamicImage) ColorModel

func (d *DynamicImage) ColorModel() color.Model

func (*DynamicImage) DownloadFull

func (d *DynamicImage) DownloadFull() (image.Image, error)

func (*DynamicImage) Error

func (d *DynamicImage) Error() error

func (*DynamicImage) Opaque

func (d *DynamicImage) Opaque() bool

type Option

type Option func(d *DynamicImage)

func WithProgress

func WithProgress(enabled bool) Option

Jump to

Keyboard shortcuts

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