Documentation
¶
Index ¶
- Variables
- func CalcSizeMax(origWidth, origHeight, Width, Height int64) (width int64, height int64)
- func CalcSizeMin(origWidth, origHeight, Width, Height int64) (width int64, height int64)
- func FindStringSubmatch(exp *regexp.Regexp, str string) map[string]string
- type Action
- type CoreMeta
- type GenericAction
- type ImageAction
- type ImageMagickV3
- type ImageOptions
- type ImageType
- type ImageVips
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidOperation = errors.New("mediatype: invalid operation")
View Source
var ErrInvalidType = errors.New("mediatype: invalid type")
Functions ¶
func CalcSizeMax ¶
func CalcSizeMin ¶
Types ¶
type GenericAction ¶
type GenericAction struct{}
func (*GenericAction) Close ¶
func (ga *GenericAction) Close()
func (*GenericAction) GetType ¶
func (ga *GenericAction) GetType() string
type ImageAction ¶
type ImageAction struct{}
func NewImageAction ¶
func NewImageAction() (*ImageAction, error)
func (*ImageAction) Close ¶
func (ia *ImageAction) Close()
func (*ImageAction) GetType ¶
func (ia *ImageAction) GetType() string
type ImageMagickV3 ¶
type ImageMagickV3 struct {
// contains filtered or unexported fields
}
func NewImageMagickV3 ¶
func NewImageMagickV3(reader io.Reader) (*ImageMagickV3, error)
func (*ImageMagickV3) Close ¶
func (im *ImageMagickV3) Close()
func (*ImageMagickV3) Resize ¶
func (im *ImageMagickV3) Resize(options *ImageOptions) error
func (*ImageMagickV3) StoreImage ¶
type ImageOptions ¶
Click to show internal directories.
Click to hide internal directories.