Documentation ¶
Index ¶
- Variables
- type Blob
- type Format
- type ImageExif
- type ImageExifSchema
- type ImageResize
- func (m *ImageResize) AcceptMedia(media string) error
- func (m *ImageResize) Encrypt() bool
- func (m *ImageResize) ID() string
- func (m *ImageResize) Mill(input []byte, name string) (*Result, error)
- func (m *ImageResize) Options(add map[string]interface{}) (string, error)
- func (m *ImageResize) Pin() bool
- type ImageResizeOpts
- type ImageSize
- type Json
- type Mill
- type Result
- type Schema
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMediaTypeNotSupported = fmt.Errorf("media type not supported")
Functions ¶
This section is empty.
Types ¶
type ImageExifSchema ¶
type ImageExifSchema struct { Created time.Time `json:"created,omitempty"` Name string `json:"name"` Ext string `json:"extension"` Width int `json:"width"` Height int `json:"height"` Format string `json:"format"` Latitude float64 `json:"latitude,omitempty"` Longitude float64 `json:"longitude,omitempty"` }
type ImageResize ¶
type ImageResize struct {
Opts ImageResizeOpts
}
func (*ImageResize) AcceptMedia ¶
func (m *ImageResize) AcceptMedia(media string) error
func (*ImageResize) Encrypt ¶
func (m *ImageResize) Encrypt() bool
func (*ImageResize) ID ¶
func (m *ImageResize) ID() string
func (*ImageResize) Options ¶
func (m *ImageResize) Options(add map[string]interface{}) (string, error)
func (*ImageResize) Pin ¶
func (m *ImageResize) Pin() bool
type ImageResizeOpts ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.