Documentation
¶
Index ¶
- func ApplyFilter(src image.Image, g *gift.GIFT) image.Image
- func GenerateURL(imageURLPrefix string, types string, id int64, name string) string
- func LargeFilter() *gift.GIFT
- func MediumFilter() *gift.GIFT
- func ParseGif(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error
- func ParseImage(imageFormat string, r io.Reader, g *gift.GIFT) (*bytes.Buffer, error)
- func ParseJpeg(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error
- func ParsePng(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error
- func ResizeFilter(width int, height int) *gift.GIFT
- func ResizeGif(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error
- func ResizeJpeg(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error
- func ResizeLarge(imageFormat string, r io.Reader) (*bytes.Buffer, error)
- func ResizeMedium(imageFormat string, r io.Reader) (*bytes.Buffer, error)
- func ResizePng(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error
- func ResizeThumbnail(imageFormat string, r io.Reader) (*bytes.Buffer, error)
- func ThumbnailFilter() *gift.GIFT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateURL ¶
func LargeFilter ¶
func MediumFilter ¶
func ParseImage ¶
func ResizeJpeg ¶
func ThumbnailFilter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.