Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type ImageEngine ¶
type ImageEngine struct { }
func (ImageEngine) Transform ¶
func (e ImageEngine) Transform(img image.Image, o *ImageOptions) (image.Image, error)
type ImageOptions ¶
type ImageOptions struct { Width int `cache:"wi"` Height int `cache:"he"` Fit bool `cache:"ft"` Fill bool `cache:"fl"` Blur float64 `cache:"bl"` Sharpen float64 `cache:"sh"` Gamma float64 `cache:"ga"` Contrast float64 `cache:"co"` Brightness float64 `cache:"br"` }
func (*ImageOptions) TagMap ¶
func (opt *ImageOptions) TagMap() map[string]string
Click to show internal directories.
Click to hide internal directories.