mirror of
https://github.com/coalaura/ffwebp.git
synced 2025-07-17 22:04:35 +00:00
load default codecs
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
bin
|
||||
example.*
|
||||
test.*
|
8
cmd/ffwebp/codecs.go
Normal file
8
cmd/ffwebp/codecs.go
Normal file
@ -0,0 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/coalaura/ffwebp/internal/codec/bmp"
|
||||
_ "github.com/coalaura/ffwebp/internal/codec/gif"
|
||||
_ "github.com/coalaura/ffwebp/internal/codec/jpeg"
|
||||
_ "github.com/coalaura/ffwebp/internal/codec/png"
|
||||
)
|
@ -60,6 +60,9 @@ func main() {
|
||||
Action: run,
|
||||
Writer: os.Stderr,
|
||||
ErrWriter: os.Stderr,
|
||||
EnableShellCompletion: true,
|
||||
UseShortOptionHandling: true,
|
||||
Suggest: true,
|
||||
}
|
||||
|
||||
if err := app.Run(context.Background(), os.Args); err != nil {
|
||||
|
Reference in New Issue
Block a user