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

ArrayBuffer entry? #5

Open
dy opened this issue Jun 23, 2017 · 0 comments
Open

ArrayBuffer entry? #5

dy opened this issue Jun 23, 2017 · 0 comments

Comments

@dy
Copy link
Member

dy commented Jun 23, 2017

Sometimes it happens to deal with plain ImageData, Uint8Array or ArrayBuffer pixels, but get baboon-image started I have a hard time remembering how to require/convert it to plain pixels from ndarray.

Is there any sense in making a plain buffer entry, like baboon-image/buffer.js or something? I can think
of baboon-image/ndarray, baboon-image/buffer, baboon-image/float32, baboon-image/uint8 entries, basically dtype-based.

audio-lena is built that way.

@mikolalysenko @rreusser thoughts?

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