mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-10 16:00:26 -07:00
feat(#15): more benchmarks
This commit is contained in:
parent
337252c2a0
commit
074a236dc3
4 changed files with 104 additions and 8 deletions
2
image.go
2
image.go
|
|
@ -75,7 +75,7 @@ func (i *Image) Thumbnail(pixels int) ([]byte, error) {
|
|||
return i.Process(options)
|
||||
}
|
||||
|
||||
// Insert an image to the existent one as watermark
|
||||
// Add text as watermark on the given image
|
||||
func (i *Image) Watermark(w Watermark) ([]byte, error) {
|
||||
options := Options{Watermark: w}
|
||||
return i.Process(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue