Comparing version 1.2.0 to 2.0.0
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -138,3 +138,3 @@ 'use strict'; | ||
PNG.prototype.bitblt = function(src, dst, srcX, srcY, width, height, deltaX, deltaY) { // eslint-disable-line max-params | ||
PNG.prototype.bitblt = function(dst, srcX, srcY, width, height, deltaX, deltaY) { // eslint-disable-line max-params | ||
@@ -141,0 +141,0 @@ PNG.bitblt(this, dst, srcX, srcY, width, height, deltaX, deltaY); |
{ | ||
"name": "pngjs2", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"description": "PNG encoder/decoder in pure JS, supporting any bit size & interlace, async & sync with full test suite.", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -71,3 +71,3 @@ [![Build Status](https://travis-ci.org/lukeapage/pngjs2.svg?branch=master)](https://travis-ci.org/lukeapage/pngjs2) [![Build status](https://ci.appveyor.com/api/projects/status/tb8418jql1trkntd/branch/master?svg=true)](https://ci.appveyor.com/project/lukeapage/pngjs2/branch/master) [![Coverage Status](https://coveralls.io/repos/lukeapage/pngjs2/badge.svg?branch=master&service=github)](https://coveralls.io/github/lukeapage/pngjs2?branch=master) [![npm version](https://badge.fury.io/js/pngjs2.svg)](http://badge.fury.io/js/pngjs2) | ||
var fs = require('fs'), | ||
PNG = require('node-png').PNG; | ||
PNG = require('pngjs2').PNG; | ||
@@ -149,3 +149,3 @@ fs.createReadStream('in.png') | ||
+#### Example | ||
#### Example | ||
```js | ||
@@ -226,3 +226,3 @@ new PNG({ filterType:4 }).parse( imageData, function(error, data) | ||
Adjusts the gamma of a sync image. See thr async adjustGamma. | ||
Adjusts the gamma of a sync image. See the async adjustGamma. | ||
@@ -239,2 +239,6 @@ ``` | ||
### 2.0.0 - 08/10/2015 | ||
- fixes to readme | ||
- *breaking change* - bitblt on the png prototype now doesn't take a unused, unnecessary src first argument | ||
### 1.2.0 - 13/09/2015 | ||
@@ -241,0 +245,0 @@ - support passing colorType to write PNG's and writing bitmaps without alpha information |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
292
105619
32
1533