mirror of
https://github.com/danbulant/pngjs
synced 2026-06-09 09:31:07 +00:00
Merge pull request #30 from elisee/patch-3
Fix a couple typos in README.md
This commit is contained in:
commit
c631e6507c
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ two arguments `(err, data)`.
|
||||||
|
|
||||||
Returns `this` for method chaining.
|
Returns `this` for method chaining.
|
||||||
|
|
||||||
+#### Example
|
#### Example
|
||||||
```js
|
```js
|
||||||
new PNG({ filterType:4 }).parse( imageData, function(error, data)
|
new PNG({ filterType:4 }).parse( imageData, function(error, data)
|
||||||
{
|
{
|
||||||
|
|
@ -221,7 +221,7 @@ var png = PNG.sync.read(data);
|
||||||
|
|
||||||
### PNG.adjustGamma(src)
|
### PNG.adjustGamma(src)
|
||||||
|
|
||||||
Adjusts the gamma of a sync image. See thr async adjustGamma.
|
Adjusts the gamma of a sync image. See the async adjustGamma.
|
||||||
|
|
||||||
```
|
```
|
||||||
var data = fs.readFileSync('in.png');
|
var data = fs.readFileSync('in.png');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue