Skip to content

Commit

Permalink
handle resizing watermarks (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolman authored May 23, 2024
1 parent 1dd208b commit acdfc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vips/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit acdfc10

Please sign in to comment.