resize

package
v0.0.0-...-cb3fb3f Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

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