aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2023-08-31 08:45:10 -0700
committerRose Hogenson <rosehogenson@posteo.net>2023-08-31 08:45:10 -0700
commitc1159e5f8434ffb4e98c950f45cd682d73933534 (patch)
tree9c6b92f80316caa59e2652a4447d89a24e5d2c68 /go.mod
parentLoad terminal size once at the beginning. (diff)
downloadimgutil-c1159e5f8434ffb4e98c950f45cd682d73933534.tar.zst
Use the draw package for resizing the image.
This allows me to use the approximate bilinear interpolation, which looks a lot better than my brain-dead nearest-neighbor.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod5
1 files changed, 4 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index f2b8f47..94d1016 100644
--- a/go.mod
+++ b/go.mod
@@ -2,6 +2,9 @@ module icat
go 1.20
-require golang.org/x/term v0.11.0
+require (
+ golang.org/x/image v0.11.0
+ golang.org/x/term v0.11.0
+)
require golang.org/x/sys v0.11.0 // indirect