https://github.com/dchest/imageutil
Go package imageutil implements functions for the manipulation of images.
https://github.com/dchest/imageutil
Last synced: about 1 year ago
JSON representation
Go package imageutil implements functions for the manipulation of images.
- Host: GitHub
- URL: https://github.com/dchest/imageutil
- Owner: dchest
- License: mit
- Created: 2011-05-01T21:26:03.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-05-01T22:17:17.000Z (about 15 years ago)
- Last Synced: 2025-04-11T04:36:26.355Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 375 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Warning: this package is a work in progress; in a very primitive state right now.**
Package imageutil
=====================
import "github.com/dchest/imageutil"
Package imageutil implements functions for the manipulation of images.
Functions
---------
### func ResizeBilinear
func ResizeBilinear(img *image.NRGBA, newWidth, newHeight int) *image.NRGBA
ResizeBilinear returns a new NRGBA image with the given width and height
created by resizing the given NRGBA image using the bilinear interpolation.
### func ResizeNearestNeighbor
func ResizeNearestNeighbor(img image.Image, newWidth, newHeight int) *image.NRGBA
ResizeNearestNeighbor returns a new NRGBA image with the given width and
height created by resizing the given image using the nearest neighbor
algorithm.