1
0
mirror of https://github.com/coalaura/ffwebp.git synced 2025-07-18 06:14:34 +00:00

tiff and bmp are optional

This commit is contained in:
Laura
2025-06-19 13:26:37 +02:00
parent 49648b46b5
commit f6425c1789
3 changed files with 16 additions and 2 deletions

View File

@ -1,9 +1,7 @@
package main package main
import ( import (
_ "github.com/coalaura/ffwebp/internal/codec/bmp"
_ "github.com/coalaura/ffwebp/internal/codec/gif" _ "github.com/coalaura/ffwebp/internal/codec/gif"
_ "github.com/coalaura/ffwebp/internal/codec/jpeg" _ "github.com/coalaura/ffwebp/internal/codec/jpeg"
_ "github.com/coalaura/ffwebp/internal/codec/png" _ "github.com/coalaura/ffwebp/internal/codec/png"
_ "github.com/coalaura/ffwebp/internal/codec/tiff"
) )

8
cmd/ffwebp/codecs_bmp.go Normal file
View File

@ -0,0 +1,8 @@
//go:build bmp
// +build bmp
package main
import (
_ "github.com/coalaura/ffwebp/internal/codec/bmp"
)

View File

@ -0,0 +1,8 @@
//go:build tiff
// +build tiff
package main
import (
_ "github.com/coalaura/ffwebp/internal/codec/tiff"
)