resize

package
v0.0.0-...-ba396c1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resample

func Resample(m image.Image, r image.Rectangle, w, h int) *image.RGBA

Resample returns a resampled copy of the image slice r of m. The returned image has width w and height h.

func ResizeNRGBA

func ResizeNRGBA(m *image.NRGBA, r image.Rectangle, w, h int) *image.RGBA

ResizeNRGBA returns a scaled copy of the RGBA image slice r of m. The returned image has width w and height h.

func ResizeRGBA

func ResizeRGBA(m *image.RGBA, r image.Rectangle, w, h int) *image.RGBA

ResizeRGBA returns a scaled copy of the RGBA image slice r of m. The returned image has width w and height h.

Types

This section is empty.

Jump to

Keyboard shortcuts

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