shithub: mycel

Download patch

ref: edf21cfe46bc7fa80fc02991cfcb821e2274c3c3
parent: e952e93ca5dfae9f181fedac1c199f257f46bc9b
author: Philip Silva <philip.silva@protonmail.com>
date: Sun Jan 2 17:03:47 EST 2022

include webp

--- a/browser/browser.go
+++ b/browser/browser.go
@@ -29,10 +29,6 @@
 	"unicode"
 
 	"github.com/mjl-/duit"
-
-	_ "image/gif"
-	_ "image/jpeg"
-	_ "image/png"
 )
 
 const (
--- a/img/img.go
+++ b/img/img.go
@@ -18,6 +18,7 @@
 	_ "image/gif"
 	_ "image/jpeg"
 	_ "image/png"
+	_ "golang.org/x/image/webp"
 )
 
 const SrcZero = "//:0"