dotpic
Doc picture generator
Installation
$ npm install dotpic --save
Usage
'use strict' const dotpic = const fs = // Write dot picturelet src = `000011110000000001100000000001100000000001100000100001100001111111111111111111111111100001100001000001100000000001100000000001100000000001100000000001100000000001100000000001100000000001100000000011110000` let svg = fs
Signature
dotpic(src, options) -> string
Params
Name | Type | Description |
---|---|---|
src | string | image data |
options | Object | Optional settings |
options.colors | Object | Color data |
options.width | number | Image width |
options.height | number | Image height |
options.background | string | Background color |
License
This software is released under the MIT License.