Skip to content
This repository was archived by the owner on Sep 29, 2020. It is now read-only.

Watermark Size#59

Open
cyberrep wants to merge 19 commits intomasterfrom
gh-pages
Open

Watermark Size#59
cyberrep wants to merge 19 commits intomasterfrom
gh-pages

Conversation

@cyberrep
Copy link

Is it possible to add an option to resize W and H of the watermark on parameters?

watermark(['main.png', 'watermark.png'])
.image(watermark.image.atPos(getXCenter, getYCenter, 0.5))
.image(watermark.size(500,800))
.then(function (img) {
var pre = document.querySelector('#teste0 pre');
pre.parentNode.insertBefore(img, pre);
});

@brianium
Copy link
Owner

brianium commented Jan 3, 2020

This seems possible, but this PR seems a little off. Were you hoping to update documentation? It looks like a pull request from gh-pages to master?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants