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

add node-canvas as fallback for CLI pixel manipulation #2

Closed
jywarren opened this issue Apr 6, 2016 · 1 comment
Closed

add node-canvas as fallback for CLI pixel manipulation #2

jywarren opened this issue Apr 6, 2016 · 1 comment

Comments

@jywarren
Copy link
Member

jywarren commented Apr 6, 2016

https://github.com/Automattic/node-canvas

Image/pixel manipulation in SpectralWorkbench.Image.js needs a fallback for headless usage in node.js: https://github.com/publiclab/spectral-workbench.js/blob/master/src/SpectralWorkbench.Image.js

This may include managing the image element as a JavaScript image object rather than as displayed in the DOM. All instances of imgEl and lineEl should be made optional.

@jywarren jywarren changed the title add node-canvas as fallback for headless pixel manipulation add node-canvas as fallback for CLI pixel manipulation Apr 6, 2016
@jywarren
Copy link
Member Author

Done in #32, #33, and v0.0.15

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

No branches or pull requests

1 participant