Skip to content
Robert Main edited this page Dec 7, 2017 · 1 revision

What is PureImage?

PureImage is a pure JavaScript implementation of the HTML Canvas 2d drawing api for NodeJS. It has no native dependencies and implements the HTML Canvas spec in a headless Node buffer. No browser or window required.

What is PureImage for?

PureImage is meant to be a small and maintainable Canvas library. It is not meant to be fast. If there are two choices of algorithm we will take the one with the simplest implementation, and preferably the fewest lines. We avoid special cases and optimizations to keep the code simple and maintainable. It should run everywhere and be always produce the same output.

Clone this wiki locally