Documentation ¶
Index ¶
- Constants
- func CircleThumb(filename, name string, width int, quality int, format thumbType.ThumbType) (string, error)
- func ConvertToJpeg(filename string) (string, error)
- func CustomThumb(filename, name string, width, height int, cropGravity string, ...) (string, error)
- func FixOrientation(filename string) (string, error)
- func Full(filename string, name string, quality int, format thumbType.ThumbType) (string, error)
- func Jpegtran(filename string) (string, error)
- func Optipng(filename string) (string, error)
- func Quality(filename string, quality int) (string, error)
- func ResizePercent(filename string, percent int) (string, error)
- func SquareThumb(filename, name string, size int, quality int, format thumbType.ThumbType) (string, error)
- func StripMetadata(filename string) error
- func Thumb(filename, name string, width, height int, quality int, ...) (string, error)
- type MemeOCR
- type MultiOCRCommand
- type OCRCommand
- type OCRResult
- type StandardOCR
Constants ¶
View Source
const GM_COMMAND = "gm"
Variables ¶
This section is empty.
Functions ¶
func CircleThumb ¶
func ConvertToJpeg ¶
func CustomThumb ¶
func FixOrientation ¶
func SquareThumb ¶
func StripMetadata ¶
Types ¶
type MemeOCR ¶
type MemeOCR struct {
// contains filtered or unexported fields
}
func NewMemeOCR ¶
func NewMemeOCR() *MemeOCR
type MultiOCRCommand ¶
type MultiOCRCommand []OCRCommand
type OCRCommand ¶
type StandardOCR ¶
type StandardOCR struct {
// contains filtered or unexported fields
}
func NewStandardOCR ¶
func NewStandardOCR() *StandardOCR
Click to show internal directories.
Click to hide internal directories.