diff --git a/vips/filter.go b/vips/filter.go index 155e6789e..6c3b98f73 100644 --- a/vips/filter.go +++ b/vips/filter.go @@ -48,7 +48,7 @@ func (v *Processor) watermark(ctx context.Context, img *Image, load imagor.LoadF h = img.PageHeight() * h / 100 } if overlay, err = v.NewThumbnail( - ctx, blob, w, h, InterestingNone, SizeDown, n, 1, 0, + ctx, blob, w, h, InterestingNone, SizeBoth, n, 1, 0, ); err != nil { return }