trez: github.com/DAddYE/trez Index | Files | Directories

package trez

import "github.com/DAddYE/trez"

Index

Package Files

opencv.go options.go

func Resize Uses

func Resize(data []byte, options Options) ([]byte, error)

type Algo Uses

type Algo int
const (
    FIT Algo = iota
    FILL
)

func (Algo) String Uses

func (a Algo) String() string

type Gravity Uses

type Gravity int
const (
    CENTER Gravity = iota
    NORTH
    SOUTH
    WEST
    EAST
    NORTH_WEST
    NORTH_EAST
    SOUTH_WEST
    SOUTH_EAST
)

type Options Uses

type Options struct {
    Width      int
    Height     int
    Algo       Algo
    Background [3]int
    Gravity    Gravity
    Enalarge   bool
    Quality    int
}

Directories

PathSynopsis
bench

Package trez imports 4 packages (graph). Updated 2016-07-28. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).