Compare commits

...

1 Commits

Author SHA1 Message Date
Jeffrey Warren
57c3679feb Update README.md 2019-04-15 16:05:01 -05:00

View File

@@ -115,7 +115,7 @@ Note: Browser CORS Restrictions apply. Some browsers may not allow local images
from other folders, and throw a Security Error instead. from other folders, and throw a Security Error instead.
```js ```js
sequencer.replaceImage(selector,steps,optional_options); sequencer.replaceImage(selector,steps,optional_options);
``` ```
`optional_options` allows passing additional arguments to the module itself. `optional_options` allows passing additional arguments to the module itself.
@@ -123,8 +123,8 @@ from other folders, and throw a Security Error instead.
For example: For example:
```js ```js
sequencer.replaceImage('#photo','invert'); sequencer.replaceImage('#photo','invert');
sequencer.replaceImage('#photo',['invert','ndvi-red']); sequencer.replaceImage('#photo',['invert','ndvi-red']);
``` ```
### Data URL usage ### Data URL usage
@@ -150,7 +150,7 @@ Image Sequencer also provides a CLI for applying operations to local files. The
The basic format for using the CLI is as follows: The basic format for using the CLI is as follows:
``` ```
$ ./index.js -i [PATH] -s step-name $ ./index.js -i [PATH] -s step-name
``` ```
*NOTE:* On Windows you'll have to use `node index.js` instead of `./index.js`. *NOTE:* On Windows you'll have to use `node index.js` instead of `./index.js`.
@@ -158,7 +158,7 @@ The basic format for using the CLI is as follows:
The CLI also can take multiple steps at once, like so: The CLI also can take multiple steps at once, like so:
``` ```
$ ./index.js -i [PATH] -s "step-name-1 step-name-2 ..." $ ./index.js -i [PATH] -s "step-name-1 step-name-2 ..."
``` ```
But for this, double quotes must wrap the space-separated steps. But for this, double quotes must wrap the space-separated steps.