Documentation ¶
Overview ¶
Package resize resizes images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HalveInplace ¶
HalveInplace downsamples the image by 50% using averaging interpolation.
func Resample ¶
Resample returns a resampled copy of the image slice r of m. The returned image has width w and height h.
func ResampleInplace ¶
ResampleInplace will resample m inplace, overwritting existing pixel data, and return a subimage of m sized to w and h.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.