Skip to content

Commit

Permalink
updated the watermark string to test
Browse files Browse the repository at this point in the history
  • Loading branch information
govindkailas committed Jan 9, 2024
1 parent 32f6a23 commit ed9514c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified image-with-overlay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func main() {
imgSize := img.Bounds().Size()

// create a string watermark with a name
watermark := createWatermark("César O. Araújo", imgSize.X, imgSize.Y)
watermark := createWatermark("Govind Kailas", imgSize.X, imgSize.Y)

// Add the overlay to the background image with 50% opacity
result := imaging.Overlay(img, watermark, image.Point{0, 0}, 0.5)
Expand Down

0 comments on commit ed9514c

Please sign in to comment.