Documentation ¶
Index ¶
- func CanTransform(orientation int) (ok bool)
- func EpegThumbnail(input string, output string, size int, quality int, scaleType goepeg.ScaleType) (err error)
- func FlipH(s image.Image) (image.Image, error)
- func FlipV(s image.Image) (image.Image, error)
- func GenericThumbnail(input string, output string, size int, quality int, scaleType goepeg.ScaleType) (err error)
- func Orientation(reader io.Reader) (orientation int, err error)
- func Rotate(s image.Image, deg int) (image.Image, error)
- func Thumbnail(in io.Reader, size int, quality int, scaleType goepeg.ScaleType) (out io.ReadCloser, err error)
- func Transform(orientation int, transformer Transformer) error
- func Transpose(s image.Image) (image.Image, error)
- func Transverse(s image.Image) (image.Image, error)
- type EpegTransformer
- func (t EpegTransformer) FlipH() error
- func (t EpegTransformer) FlipV() error
- func (t EpegTransformer) None() error
- func (t EpegTransformer) Rotate180() error
- func (t EpegTransformer) Rotate270() error
- func (t EpegTransformer) Rotate90() error
- func (t EpegTransformer) Transpose() error
- func (t EpegTransformer) Transverse() error
- type GenericTransformer
- func (t GenericTransformer) FlipH() error
- func (t GenericTransformer) FlipV() error
- func (t GenericTransformer) None() error
- func (t GenericTransformer) Rotate180() error
- func (t GenericTransformer) Rotate270() error
- func (t GenericTransformer) Rotate90() error
- func (t GenericTransformer) Transpose() error
- func (t GenericTransformer) Transverse() error
- type Transformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanTransform ¶
func EpegThumbnail ¶
func GenericThumbnail ¶
func Transform ¶
func Transform(orientation int, transformer Transformer) error
Types ¶
type EpegTransformer ¶
func NewEpegTransformer ¶
func NewEpegTransformer(input string, output string) *EpegTransformer
func (EpegTransformer) FlipH ¶
func (t EpegTransformer) FlipH() error
func (EpegTransformer) FlipV ¶
func (t EpegTransformer) FlipV() error
func (EpegTransformer) None ¶
func (t EpegTransformer) None() error
func (EpegTransformer) Rotate180 ¶
func (t EpegTransformer) Rotate180() error
func (EpegTransformer) Rotate270 ¶
func (t EpegTransformer) Rotate270() error
func (EpegTransformer) Rotate90 ¶
func (t EpegTransformer) Rotate90() error
func (EpegTransformer) Transpose ¶
func (t EpegTransformer) Transpose() error
func (EpegTransformer) Transverse ¶
func (t EpegTransformer) Transverse() error
type GenericTransformer ¶
func (GenericTransformer) FlipH ¶
func (t GenericTransformer) FlipH() error
func (GenericTransformer) FlipV ¶
func (t GenericTransformer) FlipV() error
func (GenericTransformer) None ¶
func (t GenericTransformer) None() error
func (GenericTransformer) Rotate180 ¶
func (t GenericTransformer) Rotate180() error
func (GenericTransformer) Rotate270 ¶
func (t GenericTransformer) Rotate270() error
func (GenericTransformer) Rotate90 ¶
func (t GenericTransformer) Rotate90() error
func (GenericTransformer) Transpose ¶
func (t GenericTransformer) Transpose() error
func (GenericTransformer) Transverse ¶
func (t GenericTransformer) Transverse() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.