mirror of
https://github.com/danbulant/pngjs
synced 2026-06-09 01:20:39 +00:00
Fix a couple typos in README.md
This commit is contained in:
parent
b90e811243
commit
4004ac2cd5
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