Mon Jun 29 12:40:54 2020 UTC ()
Add graphics/go-gift version 1.2.1
Package gift provides a set of useful image processing filters with no
external dependencies outside of the Go standard library.
SUPPORTED FILTERS:
Transformations
- 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
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)
(nikita)
diff -r1.895 -r1.896 pkgsrc/graphics/Makefile
diff -r0 -r1.1 pkgsrc/graphics/go-gift/DESCR
diff -r0 -r1.1 pkgsrc/graphics/go-gift/Makefile
diff -r0 -r1.1 pkgsrc/graphics/go-gift/PLIST
diff -r0 -r1.1 pkgsrc/graphics/go-gift/buildlink3.mk
diff -r0 -r1.1 pkgsrc/graphics/go-gift/distinfo
--- pkgsrc/graphics/Makefile 2020/06/17 08:47:30 1.895
+++ pkgsrc/graphics/Makefile 2020/06/29 12:40:53 1.896
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.895 2020/06/17 08:47:30 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.896 2020/06/29 12:40:53 nikita Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Graphics tools and libraries | | 4 | COMMENT= Graphics tools and libraries |
5 | | | 5 | |
6 | SUBDIR+= AfterShotPro | | 6 | SUBDIR+= AfterShotPro |
7 | SUBDIR+= CRWInfo | | 7 | SUBDIR+= CRWInfo |
8 | SUBDIR+= Cenon | | 8 | SUBDIR+= Cenon |
9 | SUBDIR+= Coin | | 9 | SUBDIR+= Coin |
10 | SUBDIR+= GMT | | 10 | SUBDIR+= GMT |
11 | SUBDIR+= GUIlib | | 11 | SUBDIR+= GUIlib |
12 | SUBDIR+= GraphicsMagick | | 12 | SUBDIR+= GraphicsMagick |
13 | SUBDIR+= ImageMagick | | 13 | SUBDIR+= ImageMagick |
14 | SUBDIR+= ImageMagick6 | | 14 | SUBDIR+= ImageMagick6 |
| @@ -191,26 +191,27 @@ SUBDIR+= gliv | | | @@ -191,26 +191,27 @@ SUBDIR+= gliv |
191 | SUBDIR+= glm | | 191 | SUBDIR+= glm |
192 | SUBDIR+= glpng | | 192 | SUBDIR+= glpng |
193 | SUBDIR+= glu | | 193 | SUBDIR+= glu |
194 | SUBDIR+= glw | | 194 | SUBDIR+= glw |
195 | SUBDIR+= glx-utils | | 195 | SUBDIR+= glx-utils |
196 | SUBDIR+= gmic | | 196 | SUBDIR+= gmic |
197 | SUBDIR+= gmngview | | 197 | SUBDIR+= gmngview |
198 | SUBDIR+= gnome-backgrounds | | 198 | SUBDIR+= gnome-backgrounds |
199 | SUBDIR+= gnome-icon-theme | | 199 | SUBDIR+= gnome-icon-theme |
200 | SUBDIR+= gnome-icon-theme-extras | | 200 | SUBDIR+= gnome-icon-theme-extras |
201 | SUBDIR+= gnome-icon-theme-symbolic | | 201 | SUBDIR+= gnome-icon-theme-symbolic |
202 | SUBDIR+= gnome-themes-standard | | 202 | SUBDIR+= gnome-themes-standard |
203 | SUBDIR+= gnuplot | | 203 | SUBDIR+= gnuplot |
| | | 204 | SUBDIR+= go-gift |
204 | SUBDIR+= go-image | | 205 | SUBDIR+= go-image |
205 | SUBDIR+= go-imaging | | 206 | SUBDIR+= go-imaging |
206 | SUBDIR+= go-resize | | 207 | SUBDIR+= go-resize |
207 | SUBDIR+= go-smartcrop | | 208 | SUBDIR+= go-smartcrop |
208 | SUBDIR+= gocr | | 209 | SUBDIR+= gocr |
209 | SUBDIR+= goocanvas2 | | 210 | SUBDIR+= goocanvas2 |
210 | SUBDIR+= gource | | 211 | SUBDIR+= gource |
211 | SUBDIR+= gphoto2 | | 212 | SUBDIR+= gphoto2 |
212 | SUBDIR+= gpick | | 213 | SUBDIR+= gpick |
213 | SUBDIR+= gpicview | | 214 | SUBDIR+= gpicview |
214 | SUBDIR+= gqview | | 215 | SUBDIR+= gqview |
215 | SUBDIR+= gqview-devel | | 216 | SUBDIR+= gqview-devel |
216 | SUBDIR+= grafx2 | | 217 | SUBDIR+= grafx2 |
Package gift provides a set of useful image processing filters with no
external dependencies outside of the Go standard library.
SUPPORTED FILTERS:
Transformations
- 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
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)
# $NetBSD: Makefile,v 1.1 2020/06/29 12:40:53 nikita Exp $
DISTNAME= go-gift-1.2.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=disintegration/}
GITHUB_PROJECT= gift
GITHUB_TAG= v1.2.1
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/disintegration/gift
COMMENT= Go Image Filtering Toolkit
LICENSE= mit
GO_SRCPATH= github.com/disintegration/gift
GO_DIST_BASE= ${DISTNAME:S/go-//}
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2020/06/29 12:40:53 nikita Exp $
gopkg/pkg/${GO_PLATFORM}/github.com/disintegration/gift.a
gopkg/src/github.com/disintegration/gift/LICENSE
gopkg/src/github.com/disintegration/gift/README.md
gopkg/src/github.com/disintegration/gift/colors.go
gopkg/src/github.com/disintegration/gift/colors_test.go
gopkg/src/github.com/disintegration/gift/convolution.go
gopkg/src/github.com/disintegration/gift/convolution_test.go
gopkg/src/github.com/disintegration/gift/effects.go
gopkg/src/github.com/disintegration/gift/effects_test.go
gopkg/src/github.com/disintegration/gift/gift.go
gopkg/src/github.com/disintegration/gift/gift_test.go
gopkg/src/github.com/disintegration/gift/go.mod
gopkg/src/github.com/disintegration/gift/pixels.go
gopkg/src/github.com/disintegration/gift/pixels_test.go
gopkg/src/github.com/disintegration/gift/rank.go
gopkg/src/github.com/disintegration/gift/rank_test.go
gopkg/src/github.com/disintegration/gift/resize.go
gopkg/src/github.com/disintegration/gift/resize_test.go
gopkg/src/github.com/disintegration/gift/testdata/dst_brightness_decrease.png
gopkg/src/github.com/disintegration/gift/testdata/dst_brightness_increase.png
gopkg/src/github.com/disintegration/gift/testdata/dst_color_balance.png
gopkg/src/github.com/disintegration/gift/testdata/dst_color_func.png
gopkg/src/github.com/disintegration/gift/testdata/dst_colorize.png
gopkg/src/github.com/disintegration/gift/testdata/dst_contrast_decrease.png
gopkg/src/github.com/disintegration/gift/testdata/dst_contrast_increase.png
gopkg/src/github.com/disintegration/gift/testdata/dst_convolution_emboss.png
gopkg/src/github.com/disintegration/gift/testdata/dst_crop_to_size.png
gopkg/src/github.com/disintegration/gift/testdata/dst_gamma_0.5.png
gopkg/src/github.com/disintegration/gift/testdata/dst_gamma_1.5.png
gopkg/src/github.com/disintegration/gift/testdata/dst_gaussian_blur.png
gopkg/src/github.com/disintegration/gift/testdata/dst_grayscale.png
gopkg/src/github.com/disintegration/gift/testdata/dst_hue_rotate.png
gopkg/src/github.com/disintegration/gift/testdata/dst_invert.png
gopkg/src/github.com/disintegration/gift/testdata/dst_maximum.png
gopkg/src/github.com/disintegration/gift/testdata/dst_mean.png
gopkg/src/github.com/disintegration/gift/testdata/dst_median.png
gopkg/src/github.com/disintegration/gift/testdata/dst_minimum.png
gopkg/src/github.com/disintegration/gift/testdata/dst_pixelate.png
gopkg/src/github.com/disintegration/gift/testdata/dst_resize.png
gopkg/src/github.com/disintegration/gift/testdata/dst_rotate_180.png
gopkg/src/github.com/disintegration/gift/testdata/dst_rotate_30.png
gopkg/src/github.com/disintegration/gift/testdata/dst_saturation_decrease.png
gopkg/src/github.com/disintegration/gift/testdata/dst_saturation_increase.png
gopkg/src/github.com/disintegration/gift/testdata/dst_sepia.png
gopkg/src/github.com/disintegration/gift/testdata/dst_sigmoid.png
gopkg/src/github.com/disintegration/gift/testdata/dst_unsharp_mask.png
gopkg/src/github.com/disintegration/gift/testdata/src.jpg
gopkg/src/github.com/disintegration/gift/testdata/src.png
gopkg/src/github.com/disintegration/gift/transform.go
gopkg/src/github.com/disintegration/gift/transform_test.go
gopkg/src/github.com/disintegration/gift/utils.go
gopkg/src/github.com/disintegration/gift/utils_test.go
# $NetBSD: buildlink3.mk,v 1.1 2020/06/29 12:40:53 nikita Exp $
BUILDLINK_TREE+= go-gift
.if !defined(GO_GIFT_BUILDLINK3_MK)
GO_GIFT_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-gift= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-gift?= build
BUILDLINK_API_DEPENDS.go-gift+= go-gift>=1.2.1
BUILDLINK_PKGSRCDIR.go-gift?= ../../graphics/go-gift
.endif # GO_GIFT_BUILDLINK3_MK
BUILDLINK_TREE+= -go-gift
$NetBSD: distinfo,v 1.1 2020/06/29 12:40:53 nikita Exp $
SHA1 (go-gift-1.2.1.tar.gz) = 14c3de9be82f6dbec5e7d8f285d6d70bb8c6a017
RMD160 (go-gift-1.2.1.tar.gz) = 88340d933049be9da021a3969dc8c01f4d3c7189
SHA512 (go-gift-1.2.1.tar.gz) = 01b797a326c299c623dd2ee3215ab7c791cd0342e834fa49da662d8c97b9e237754e68f21f0200908ee1b251c72a32d6a0e969203346f86e478e74922611c879
Size (go-gift-1.2.1.tar.gz) = 1098337 bytes