package
Version:
v0.0.0-...-1f117ec
Opens a new window with list of versions in this module.
Published: Jun 28, 2012
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Crop(img image.Image, width int, height int, padding int) (fimg draw.Image, err error)
-
func Resample(m image.Image, r image.Rectangle, w, h int) image.Image
-
func Resize(m image.Image, r image.Rectangle, w, h int) image.Image
Resample returns a resampled copy of the image slice r of m.
The returned image has width w and height h.
Resize returns a scaled copy of the image slice r of m.
The returned image has width w and height h.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.