resize

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreaAverage added in v0.2.0

func AreaAverage(dst, src *fp16.NRGBAh)

AreaAverage resizes the image using area average interpolation.

func BiLinear

func BiLinear(dst, src *fp16.NRGBAh)

BiLinear resizes the image using bilinear interpolation.

func CatmullRom

func CatmullRom(dst, src *fp16.NRGBAh)

CatmullRom resizes the image using CatmullRom (Bicubic B:0, C:1/2) interpolation.

func General

func General(dst, src *fp16.NRGBAh)

General resizes the image using General (Bicubic B:1, C:0) interpolation.

func Hermite

func Hermite(dst, src *fp16.NRGBAh)

Hermite resizes the image using Hermite (Bicubic B:0, C:0) interpolation.

func Lanczos2

func Lanczos2(dst, src *fp16.NRGBAh)

Lanczos2 resizes the image using Lanczos interpolation with lobe 2.

func Lanczos3

func Lanczos3(dst, src *fp16.NRGBAh)

Lanczos3 resizes the image using Lanczos interpolation with lobe 3.

func Lanczos4

func Lanczos4(dst, src *fp16.NRGBAh)

Lanczos4 resizes the image using Lanczos interpolation with lobe 4.

func Mitchell

func Mitchell(dst, src *fp16.NRGBAh)

Mitchell resizes the image using Mitchell (Bicubic B:1/3, C:1/3) interpolation.

func NearestNeighbor

func NearestNeighbor(dst, src *fp16.NRGBAh)

NearestNeighbor resizes the image using nearest neighbor interpolation.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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