remove video specific stuff, base off of video, and add support for HTML
This commit is contained in:
parent
3d03f45eac
commit
f348bb92e3
166 changed files with 85 additions and 1430 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package imagorvideo
|
||||
package imagorvideoextended
|
||||
|
||||
import (
|
||||
"flag"
|
||||
|
|
@ -9,14 +9,10 @@ import (
|
|||
// Config imagorvideo config.Option
|
||||
func Config(fs *flag.FlagSet, cb func() (*zap.Logger, bool)) imagor.Option {
|
||||
var (
|
||||
ffmpegFallbackImage = fs.String("ffmpeg-fallback-image", "",
|
||||
"FFmpeg fallback image on processing error. Supports image path enabled by loaders or storages")
|
||||
|
||||
logger, isDebug = cb()
|
||||
)
|
||||
return imagor.WithProcessors(
|
||||
NewProcessor(
|
||||
WithFallbackImage(*ffmpegFallbackImage),
|
||||
WithLogger(logger),
|
||||
WithDebug(isDebug),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue