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

Fixing minor typos. #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Or, clone this repo and `cd lwip && npm install`.
You can run tests with `npm test`.

**Note:** Installation of this module involves compiling native code.
If `npm install lwip` failes, you probably need to setup your system.
If `npm install lwip` fails, you probably need to setup your system.
[See instructions](https://github.com/TooTallNate/node-gyp#installation).
Building on Windows with Visual Studio requires version 2013 or higher.

Expand Down Expand Up @@ -412,7 +412,7 @@ Gaussian blur.

#### Sharpen

Inverse diffusion shapren.
Inverse diffusion sharpen.

`image.sharpen(amplitude, callback)`

Expand Down Expand Up @@ -513,11 +513,11 @@ pixel individually.

#### Fade

Adjust image transperancy.
Adjust image transparancy.

`image.fade(delta, callback)`

0. `delta {Float}`: By how much to increase / decrease the transperancy.
0. `delta {Float}`: By how much to increase / decrease the transparancy.
0. `callback {Function(err, image)}`

**Note:** The transparency is adjusted independently for each pixel.
Expand Down Expand Up @@ -552,7 +552,7 @@ Paste an image on top of this image.
0. If the pasted image exceeds the bounds of the base image, an exception
is thrown.
0. `img` is pasted in the state it was at the time `image.paste( ... )` was
called, eventhough `callback` is called asynchronously.
called, even though `callback` is called asynchronously.
0. For transparent images, alpha blending is done according to the equations
described [here](http://en.wikipedia.org/wiki/Alpha_compositing#Alpha_blending).
0. Extra caution is required when using this method in batch mode, as the images
Expand Down Expand Up @@ -618,7 +618,7 @@ Clone the image into a new image object.
**Example**: See [`examples/clone.js`](examples/clone.js)

**Note**: The image is cloned to the state it was at the time
`image.clone( ... )` was called, eventhough `callback` is called asynchronously.
`image.clone( ... )` was called, even though `callback` is called asynchronously.

```Javascript
image.width(); // 500
Expand All @@ -642,7 +642,7 @@ Copy an area of the image into a new image object.
**Example**: See [`examples/extract.js`](examples/extract.js)

**Note**: The sub-image is extracted from the original image in the state it was
at the time `image.extract( ... )` was called, eventhough `callback` is called
at the time `image.extract( ... )` was called, even though `callback` is called
asynchronously.

#### Get as a Buffer
Expand Down