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:
@ -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
8
cmd/ffwebp/codecs_bmp.go
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
//go:build bmp
|
||||||
|
// +build bmp
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/coalaura/ffwebp/internal/codec/bmp"
|
||||||
|
)
|
8
cmd/ffwebp/codecs_tiff.go
Normal file
8
cmd/ffwebp/codecs_tiff.go
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
//go:build tiff
|
||||||
|
// +build tiff
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/coalaura/ffwebp/internal/codec/tiff"
|
||||||
|
)
|
Reference in New Issue
Block a user