Fix transparency problem when converting 32-bit images to WebP

Fixes #8729
This commit is contained in:
Bjørn Erik Pedersen
2021-07-07 09:34:39 +02:00
parent 8ddbc95466
commit 8f40f34cd1
17 changed files with 73 additions and 2 deletions

View File

@@ -28,3 +28,8 @@ import (
func Encode(w io.Writer, m image.Image, o webpoptions.EncodingOptions) error {
return herrors.ErrFeatureNotAvailable
}
// Supports returns whether webp encoding is supported in this build.
func Supports() bool {
return false
}