mirror of
https://github.com/danbulant/pngjs
synced 2026-05-26 21:31:56 +00:00
v0.4.0
This commit is contained in:
parent
3aed2d5133
commit
82dd9a96c0
3 changed files with 5 additions and 2 deletions
|
|
@ -121,6 +121,9 @@ Gamma of image (0 if not specified)
|
|||
Changelog
|
||||
============
|
||||
|
||||
### 0.4.0 - Jun 05 2013
|
||||
- fixed reading of destroyed input stream
|
||||
|
||||
### 0.4.0-alpha - 29 Nov 2012
|
||||
- added zlib deflateStrategy option, default to Z_RLE (by pdpotter)
|
||||
- added possibility to use multiple filters (by pdpotter, modified by niegowski)
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ ChunkStream.prototype.destroy = function() {
|
|||
ChunkStream.prototype._process = function() {
|
||||
|
||||
// as long as there is any data and read requests
|
||||
while (this._buffered > 0 && this._reads.length > 0) {
|
||||
while (this._buffered > 0 && this._reads && this._reads.length > 0) {
|
||||
|
||||
var read = this._reads[0];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "pngjs",
|
||||
"version": "0.4.0-alpha",
|
||||
"version": "0.4.0",
|
||||
"description": "Simple PNG encoder/decoder",
|
||||
"author": "Kuba Niegowski",
|
||||
"contributors": [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue