0.0.3 • Published 8 years ago
ornate v0.0.3
ornate
Command Line Image Processing Tool
Installation
$ sudo npm install -g ornate
Usage
$ ornate [effect] [src] [param] [out]
Examples
# Will replace the source image if the out file is not specifized
# resize an image (param is the size)
$ ornate resize src.png 640x640 out.png
# scale an image (param is the ratio (0 - 1))
$ ornate scale src.png 0.5 out.png
# change the brightness of an image (param is the ratio (-1 - 1))
$ ornate brightness src.png 0.5 out.png
# blur an image (param is the radious of the blur)
$ ornate blur src.png 12 out.png
# change the opacity of an image (param is the opacity (0 - 1))
$ ornate opacity src.png 0.5 out.png
# remove the color of an image (no param)
$ ornate greyscale src.png out.png
# invert the color of an image (no param)
$ ornate invert src.png out.png