diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-09-21 16:24:54 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-09-22 15:57:35 +0200 |
commit | a4028112e340b20909746daca0f8cabb09cbf28f (patch) | |
tree | 3952d26c1d6fd4ac543617272b7a0311cd119339 /go.mod | |
parent | 08f0984f918bb97d35c1765d3b94b1a9a1a3b9cd (diff) |
resources/images: Add $image.Colors
Which returns the most dominant colors of an image using a simple histogram method.
Fixes #10307
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -91,6 +91,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/sso v1.4.0 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.7.0 // indirect github.com/aws/smithy-go v1.8.0 // indirect + github.com/cenkalti/dominantcolor v1.0.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/dlclark/regexp2 v1.4.0 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect @@ -108,6 +109,7 @@ require ( github.com/kr/pretty v0.3.0 // indirect github.com/kr/text v0.2.0 // indirect github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect + github.com/marekm4/color-extractor v1.2.0 // indirect github.com/mattn/go-ieproxy v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.9 // indirect github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect |