tile

package
v0.0.0-...-e3fa223 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tile

type Tile interface {
	Height() int
	Width() int
}

type TileSeed

type TileSeed struct {
	Endpoint string
	Height   int
	Width    int
	Quality  string
	Format   string
	// contains filtered or unexported fields
}

func NewTileSeed

func NewTileSeed(config *iiifconfig.Config, h int, w int, endpoint string, quality string, format string) (*TileSeed, error)

func (*TileSeed) SeedTiles

func (ts *TileSeed) SeedTiles(src_id string, alt_id string, scales []int, refresh bool) (int, error)

func (*TileSeed) TileSizes

func (ts *TileSeed) TileSizes(im iiifimage.Image, sf int) ([]*iiifimage.Transformation, error)

Jump to

Keyboard shortcuts

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