package nfnt

import "github.com/muesli/smartcrop/nfnt"

Index

Functions

func NewDefaultResizer

func NewDefaultResizer() options.Resizer

NewDefaultResizer creates a new Resizer with the default interpolation type.

func NewResizer

func NewResizer(interpolationType resize.InterpolationFunction) options.Resizer

NewResizer creates a new Resizer with the given interpolation type.

Source Files

resizer.go

Version
v0.3.0 (latest)
Published
Oct 30, 2018
Platform
js/wasm
Imports
3 packages
Last checked
2 weeks ago

Tools for package owners.