Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

[Image] Add filter options support #54

Open
raphamorim opened this issue Oct 30, 2016 · 1 comment
Open

[Image] Add filter options support #54

raphamorim opened this issue Oct 30, 2016 · 1 comment

Comments

@raphamorim
Copy link
Owner

Ref: https://www.html5rocks.com/en/tutorials/canvas/imagefilters/
Add a option to create Image filters, like:

origami('.canvas').image('images/origamijs.png', 10, 10, {filter: 'grayscale'})
@ognjen-petrovic
Copy link

Hi,

I could to this.
Would it be possible to apply more filters and not just one?
Some filters accepts parameter(s), how we should pass those filters, like string:
{filter: 'filter1|filter2,param1,param2'}
or something like
{filter: [
{name: 'filter1'},
{name: 'filter2', params:[param1, param2]}
]}

Regards, Ognjen

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

No branches or pull requests

2 participants