telegram_sticker_converter/internal/converter/webp.go

15 lines
241 B
Go

package converter
import (
"context"
"io"
)
type WebpTransformOptions struct {
Format OutputFormat
}
type WebpConverterService interface {
Transform(ctx context.Context, in io.Reader, out io.Writer, opts WebpTransformOptions) error
}