Skip to content

Commit

Permalink
fixup! lottie: add convert functions
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jul 8, 2024
1 parent e23767f commit c26439c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lottie/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func ConvertBytes(ctx context.Context, data []byte, format string, width, height
cmd := exec.CommandContext(ctx, lottieconverterPath, args...)
ctxLog := zerolog.Ctx(ctx).With().Str("command", "lottieconverter").Logger()
logWriter := exzerolog.NewLogWriter(ctxLog).WithLevel(zerolog.WarnLevel)
cmd.Stdin = bytes.NewReader(data)
cmd.Stdout = &output
cmd.Stderr = logWriter

Expand Down

0 comments on commit c26439c

Please sign in to comment.