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

Watermark Size #59

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Watermark Size #59

wants to merge 19 commits into from

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