Versions in this module Expand all Collapse all v1 v1.9.1 Oct 19, 2023 v1.9.0 Sep 25, 2023 Changes in this version + type CoverColors struct + Box color.Color + Main color.Color + Shadow color.Color + Text color.Color + func NewCoverColors(im image.Image) CoverColors + type Draw struct + Colors CoverColors + func NewDraw(opts DrawOptions) (*Draw, error) + func (d *Draw) Draw(ctx context.Context, source fetcher.Result) error + func (d *Draw) DrawBase(ctx context.Context, source fetcher.Result) error + func (d *Draw) DrawOver(ctx context.Context, source fetcher.Result) error + func (d *Draw) Reset() + func (d *Draw) SetBackground(_ context.Context, _ fetcher.Result) error + func (d *Draw) SetImage(ctx context.Context, source fetcher.Result) error + func (d *Draw) SetText(_ context.Context, source fetcher.Result) error + func (d *Draw) Write(target io.Writer) error + type DrawOptions struct + Footer Footer + Height int + Width int + type DrawPipe func(ctx context.Context, source fetcher.Result) error + type Fonts struct + Description *truetype.Font + Footer *truetype.Font + Title *truetype.Font + type Footer struct + Image string + Text string