Commit graph

16 commits

Author SHA1 Message Date
Martin von Gagern
a0596a58c4 Introduce deflateFactory option to packer
The main application motivating this addition is the creation of
reproducible compression results.  Since `zlib` is shipped with node.js, we
have no control over its version via npm.  To guarantee reproducible
results, other libraries (like pako) could be used, with a fixed version
number to guarantee consistent behavior.  This modification provides a hook
to allow such usage.
2015-08-28 09:59:28 +02:00
Luke Page
adf5216a49 Tidy up filtering. 2015-08-07 07:59:57 +01:00
Luke Page
79465895af Gamma division constant 2015-08-06 18:50:36 +01:00
Luke Page
c450597b09 Merge branch 'master' of github.com:lukeapage/node-pngjs2 2015-08-05 17:00:47 +01:00
Luke Page
ff9d322a36 add ability to write gamma chunks 2015-08-05 17:00:37 +01:00
Luke Page
41c5a14950 Remove copyright from individual files. It is included in the project once. 2015-08-04 23:03:38 +01:00
Luke Page
99eae1c711 Resolve remaining style issues 2015-08-04 23:00:10 +01:00
Luke Page
bf5ae3c54e configure the rest of eslint. 2015-08-04 21:32:22 +01:00
Luke Page
8155d300f0 linting and tidy 2015-08-04 19:27:18 +01:00
Luke Page
f7c70a92b4 Interlace support 2015-08-02 11:06:21 +01:00
Luke Page
d601f60c79 Support for 1,2,4 bits PNG 2015-08-01 13:03:38 +01:00
Luke Page
807ffcd66f Support for synchronous reading of PNG's 2015-08-01 13:03:06 +01:00
Alexandre Paré
fa9693a42c Fix the falsy 0 options
if you set the options deflateStrategy to 0, it will set 3
2015-07-30 18:38:23 +01:00
Pieterjan De Potter
303e231a7e added zlib deflateStrategy option, default to Z_RLE 2012-11-28 15:40:27 +01:00
Kuba Niegowski
14b9f6ddcf streams 2012-08-22 23:46:05 +02:00
Kuba Niegowski
43a7c3dc4e new experimental streams 2012-08-22 11:30:12 +02:00