resize-test: github.com/oov/resize-test/resizer Index | Files

package resizer

import "github.com/oov/resize-test/resizer"

Index

Package Files

command.go draw.go encoder.go gift.go graphics.go imagemagick.go imaging.go moustachio.go nfnt.go resizer.go rez.go stream.go

Variables

var AllResizer []StreamResizer
var CommandResizer = []CommandResizeFunc{
    ImageMagickResize,
    ImageMagickResizeWithDefine,
}
var Resizer = []ResizeFunc{
    NfntResizeNearestNeighbor,
    NfntResizeBilinear,
    NfntResizeBicubic,
    NfntResizeMitchellNetravali,
    NfntResizeLanczos2,
    NfntResizeLanczos3,
    GiftResizeNearestNeighbor,
    GiftResizeLinear,
    GiftResizeBox,
    GiftResizeCubic,
    GiftResizeLanczos,
    MoustachioResample,
    MoustachioResize,
    RezConvertBilinear,
    RezConvertBicubic,
    RezConvertLanczos2,
    RezConvertLanczos3,
    GraphicsScale,
    ImagingResizeNearestNeighbor,
    ImagingResizeBox,
    ImagingResizeLinear,
    ImagingResizeHermite,
    ImagingResizeMitchellNetravali,
    ImagingResizeCatmullRom,
    ImagingResizeBSpline,
    ImagingResizeGaussian,
    ImagingResizeBartlett,
    ImagingResizeLanczos,
    ImagingResizeHann,
    ImagingResizeHamming,
    ImagingResizeWelch,
    ImagingResizeCosine,
    DrawResizeNearestNeighbor,
    DrawResizeApproxBiLinear,
    DrawResizeBiLinear,
    DrawResizeCatmullRom,
}

func DrawResizeApproxBiLinear Uses

func DrawResizeApproxBiLinear(src image.Image, w int, h int) (image.Image, error)

func DrawResizeBiLinear Uses

func DrawResizeBiLinear(src image.Image, w int, h int) (image.Image, error)

func DrawResizeCatmullRom Uses

func DrawResizeCatmullRom(src image.Image, w int, h int) (image.Image, error)

func DrawResizeNearestNeighbor Uses

func DrawResizeNearestNeighbor(src image.Image, w int, h int) (image.Image, error)

func GiftResizeBox Uses

func GiftResizeBox(src image.Image, w int, h int) (image.Image, error)

func GiftResizeCubic Uses

func GiftResizeCubic(src image.Image, w int, h int) (image.Image, error)

func GiftResizeLanczos Uses

func GiftResizeLanczos(src image.Image, w int, h int) (image.Image, error)

func GiftResizeLinear Uses

func GiftResizeLinear(src image.Image, w int, h int) (image.Image, error)

func GiftResizeNearestNeighbor Uses

func GiftResizeNearestNeighbor(src image.Image, w int, h int) (image.Image, error)

func GraphicsScale Uses

func GraphicsScale(src image.Image, w int, h int) (image.Image, error)

func ImageMagickResize Uses

func ImageMagickResize(c image.Config, inFormat string, outFormat string, w int, h int) (*exec.Cmd, error)

func ImageMagickResizeWithDefine Uses

func ImageMagickResizeWithDefine(c image.Config, inFormat string, outFormat string, w int, h int) (*exec.Cmd, error)

func ImagingResizeBSpline Uses

func ImagingResizeBSpline(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeBartlett Uses

func ImagingResizeBartlett(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeBox Uses

func ImagingResizeBox(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeCatmullRom Uses

func ImagingResizeCatmullRom(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeCosine Uses

func ImagingResizeCosine(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeGaussian Uses

func ImagingResizeGaussian(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeHamming Uses

func ImagingResizeHamming(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeHann Uses

func ImagingResizeHann(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeHermite Uses

func ImagingResizeHermite(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeLanczos Uses

func ImagingResizeLanczos(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeLinear Uses

func ImagingResizeLinear(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeMitchellNetravali Uses

func ImagingResizeMitchellNetravali(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeNearestNeighbor Uses

func ImagingResizeNearestNeighbor(src image.Image, w int, h int) (image.Image, error)

func ImagingResizeWelch Uses

func ImagingResizeWelch(src image.Image, w int, h int) (image.Image, error)

func MoustachioResample Uses

func MoustachioResample(src image.Image, w int, h int) (image.Image, error)

func MoustachioResize Uses

func MoustachioResize(src image.Image, w int, h int) (image.Image, error)

func NfntResizeBicubic Uses

func NfntResizeBicubic(src image.Image, w int, h int) (image.Image, error)

func NfntResizeBilinear Uses

func NfntResizeBilinear(src image.Image, w int, h int) (image.Image, error)

func NfntResizeLanczos2 Uses

func NfntResizeLanczos2(src image.Image, w int, h int) (image.Image, error)

func NfntResizeLanczos3 Uses

func NfntResizeLanczos3(src image.Image, w int, h int) (image.Image, error)

func NfntResizeMitchellNetravali Uses

func NfntResizeMitchellNetravali(src image.Image, w int, h int) (image.Image, error)

func NfntResizeNearestNeighbor Uses

func NfntResizeNearestNeighbor(src image.Image, w int, h int) (image.Image, error)

func RegisterEncoderFormat Uses

func RegisterEncoderFormat(name string, encode func(dst io.Writer, src image.Image) error)

func RezConvertBicubic Uses

func RezConvertBicubic(src image.Image, w int, h int) (image.Image, error)

func RezConvertBilinear Uses

func RezConvertBilinear(src image.Image, w int, h int) (image.Image, error)

func RezConvertLanczos2 Uses

func RezConvertLanczos2(src image.Image, w int, h int) (image.Image, error)

func RezConvertLanczos3 Uses

func RezConvertLanczos3(src image.Image, w int, h int) (image.Image, error)

type CommandResizeFunc Uses

type CommandResizeFunc func(c image.Config, inFormat string, outFormat string, w int, h int) (*exec.Cmd, error)

func (CommandResizeFunc) Name Uses

func (cr CommandResizeFunc) Name() string

func (CommandResizeFunc) StreamResize Uses

func (cr CommandResizeFunc) StreamResize(dst io.Writer, src io.Reader, format string, w int, h int) error

type ResizeFunc Uses

type ResizeFunc func(src image.Image, w int, h int) (image.Image, error)

func (ResizeFunc) Name Uses

func (f ResizeFunc) Name() string

func (ResizeFunc) StreamResize Uses

func (f ResizeFunc) StreamResize(dst io.Writer, src io.Reader, outFormat string, w int, h int) error

type StreamResizeFunc Uses

type StreamResizeFunc func(dst io.Writer, src io.Reader, outFormat string, w int, h int) error

type StreamResizer Uses

type StreamResizer interface {
    StreamResize(dst io.Writer, src io.Reader, outFormat string, w int, h int) error
    Name() string
}

Package resizer imports 19 packages (graph) and is imported by 1 packages. Updated 2016-07-15. Refresh now. Tools for package owners.