properly support tga and webp images

This commit is contained in:
2025-05-08 22:06:30 -04:00
parent b186ea934d
commit bad6802bd1
5 changed files with 69 additions and 18 deletions

3
go.mod
View File

@@ -4,6 +4,7 @@ go 1.24.2
require (
github.com/disintegration/imaging v1.6.2
golang.org/x/image v0.27.0
modernc.org/tk9.0 v0.70.2-0.20250508084556-20db091eb764
)
@@ -11,6 +12,7 @@ require (
git.yetaga.in/alazyreader/appify v0.0.0-20250503185351-c56d5058ecd7 // indirect
github.com/JackMordaunt/icns v1.0.0 // indirect
github.com/adrg/xdg v0.5.3 // indirect
github.com/dblezek/tga v0.0.0-20150626111426-80720cbc1017 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ebitengine/purego v0.8.2 // indirect
github.com/evilsocket/islazy v1.11.0 // indirect
@@ -22,7 +24,6 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
golang.org/x/image v0.26.0 // indirect
golang.org/x/net v0.39.0 // indirect
golang.org/x/sys v0.32.0 // indirect
modernc.org/fileutil v1.3.1 // indirect