feat(#15): more benchmarks

This commit is contained in:
Tomas Aparicio 2015-04-11 02:56:59 +02:00
parent 337252c2a0
commit 074a236dc3
4 changed files with 104 additions and 8 deletions

View file

@ -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)