Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output channel/format #40

Open
dy opened this issue Sep 23, 2018 · 0 comments
Open

Output channel/format #40

dy opened this issue Sep 23, 2018 · 0 comments

Comments

@dy
Copy link
Member

dy commented Sep 23, 2018

Similar to regl texture types that may be handy to have output format, for example:

getPixels(src, { format: 'alpha' }, cb)

Can be a channel alpha, red, green, blue, swizzles rg, rgb, rgba etc.

Possibly a matter of a separate package.

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

No branches or pull requests

1 participant