add support to preview webp images and paste file paths
release / goreleaser (push) Has been cancelled

This commit is contained in:
phantomreactor
2025-05-15 23:02:11 +05:30
committed by Adam
parent 9f08b8ec09
commit a5955213ff
2 changed files with 18 additions and 5 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
"github.com/charmbracelet/lipgloss"
"github.com/disintegration/imaging"
"github.com/lucasb-eyer/go-colorful"
_ "golang.org/x/image/webp"
)
func ValidateFileSize(filePath string, sizeLimit int64) (bool, error) {