Watermark function shoud receive and return Image objects #21
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: gytisrepecka/webimg#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bare-bones function should accept Image obbject and then the wrapper should accept file paths like implemented now:
doWatermark := webimg.Watermark(imageToWatermark, "watermark_inretio-logo.png", "result_img.jpg", 30, 30, 70)
Both input image and watermark image should be provided as objects. Returned result should also be Image.
Could then perhaps be used in Hugo image watermarking.