image

package
v0.0.0-...-b754639 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFilter

func ApplyFilter(src image.Image, g *gift.GIFT) image.Image

func MediumFilter

func MediumFilter() *gift.GIFT

func MediumOption

func MediumOption() vips.Options

func ParseGif

func ParseGif(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error

func ParseImage

func ParseImage(imageFormat string, r io.Reader, g *gift.GIFT) (*bytes.Buffer, error)

func ParseJpeg

func ParseJpeg(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error

func ParsePng

func ParsePng(wb *bytes.Buffer, r io.Reader, g *gift.GIFT) error

func ResizeFilter

func ResizeFilter(width int, height int) *gift.GIFT

func ResizeGif

func ResizeGif(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error

func ResizeJpeg

func ResizeJpeg(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error

func ResizeMedium

func ResizeMedium(imageFormat string, r io.Reader) (*bytes.Buffer, error)

func ResizeMediumVips

func ResizeMediumVips(inBuf []byte) ([]byte, error)

func ResizePng

func ResizePng(wb *bytes.Buffer, r io.Reader, g *gift.GIFT, width int, height int) error

func ResizeThumbnail

func ResizeThumbnail(imageFormat string, r io.Reader) (*bytes.Buffer, error)

func ResizeThumbnailVips

func ResizeThumbnailVips(inBuf []byte) ([]byte, error)

func ThumbnailFilter

func ThumbnailFilter() *gift.GIFT

func ThumbnailOption

func ThumbnailOption() vips.Options

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL