nfntresize

package
v0.0.0-...-60e87b8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package nfntresize provides a nfnt resize Processor.

Index

Constants

View Source
const (
	// Param is the sub-param used by this package.
	Param = "nfntresize"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	DefaultInterpolation resize.InterpolationFunction
	MaxWidth             int
	MaxHeight            int
}

Processor processes an Image with nfnt resize.

func (*Processor) Change

func (prc *Processor) Change(params imageserver.Params) bool

Change implements Processor.

func (*Processor) Process

func (prc *Processor) Process(nim image.Image, params imageserver.Params) (image.Image, error)

Process implements Processor.

Jump to

Keyboard shortcuts

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