graphics/go-gift - The NetBSD Packages Collection

Go Image Filtering Toolkit

Package gift provides a set of useful image processing filters with no
external dependencies outside of the Go standard library.

- Crop(rect image.Rectangle)
- CropToSize(width, height int, anchor Anchor)
- FlipHorizontal()
- FlipVertical()
- Resize(width, height int, resampling Resampling)
- ResizeToFill(width, height int, resampling Resampling, anchor Anchor)
- ResizeToFit(width, height int, resampling Resampling)
- Rotate(angle float32, backgroundColor color.Color, interpolation
- Rotate180()
- Rotate270()
- Rotate90()
- Transpose()
- Transverse()
Adjustments & effects
- Brightness(percentage float32)
- ColorBalance(percentageRed, percentageGreen, percentageBlue float32)
- ColorFunc(fn func(r0, g0, b0, a0 float32) (r, g, b, a float32))
- Colorize(hue, saturation, percentage float32)
- ColorspaceLinearToSRGB()
- ColorspaceSRGBToLinear()
- Contrast(percentage float32)
- Convolution(kernel []float32, normalize, alpha, abs bool, delta float32)
- Gamma(gamma float32)
- GaussianBlur(sigma float32)
- Grayscale()
- Hue(shift float32)
- Invert()
- Maximum(ksize int, disk bool)
- Mean(ksize int, disk bool)
- Median(ksize int, disk bool)
- Minimum(ksize int, disk bool)
- Pixelate(size int)
- Saturation(percentage float32)
- Sepia(percentage float32)
- Sigmoid(midpoint, factor float32)
- Sobel()
- Threshold(percentage float32)
- UnsharpMask(sigma, amount, threshold float32)

Build dependencies

lang/go115 pkgtools/cwrappers

Runtime dependencies


Available binary packages

aarch64:go-gift-1.2.1nb3.tgz(NetBSD 9.0)
aarch64:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
earmv7hf:go-gift-1.2.1nb6.tgz(NetBSD 8.0)
earmv7hf:go-gift-1.2.1nb3.tgz(NetBSD 8.0)
earmv7hf:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
earmv7hf:go-gift-1.2.1nb3.tgz(NetBSD 9.0)
i386:go-gift-1.2.1nb3.tgz(NetBSD 8.0)
i386:go-gift-1.2.1nb6.tgz(NetBSD 8.0)
i386:go-gift-1.2.1nb3.tgz(NetBSD 9.0)
i386:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb7.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb3.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb3.tgz(NetBSD 8.0)
x86_64:go-gift-1.2.1nb3.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb6.tgz(NetBSD 9.0)
x86_64:go-gift-1.2.1nb7.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.

[ Go up one level | Go to top of packages tree | List all packages ]