Commit graph

48 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
15896644fd Expose all info (palette and transparent color) to the user 2015-08-22 07:03:41 +01:00
Luke Page
ba44715818 Fix #21 - interlaced png's that were not square failed because of typo 2015-08-21 08:11:10 +01:00
Luke Page
6cf6d787bc catch async exceptions and emit error 2015-08-08 06:53:15 +01:00
Luke Page
3ccd332f5a refactor - shorten method param count 2015-08-08 06:42:22 +01:00
Luke Page
3ddd3f11a3 split out bitmapper 2015-08-07 20:46:28 +01:00
Luke Page
adf5216a49 Tidy up filtering. 2015-08-07 07:59:57 +01:00
Luke Page
119d403098 Rename createData 2015-08-07 07:31:14 +01:00
Luke Page
2fbf81e598 Finished is now optional 2015-08-06 19:57:39 +01:00
Luke Page
735902ff9e refactor parser-sync 2015-08-06 19:46:30 +01:00
Luke Page
79465895af Gamma division constant 2015-08-06 18:50:36 +01:00
Luke Page
f84416a523 Merge branch 'master' of github.com:lukeapage/node-pngjs2 2015-08-05 23:21:36 +01:00
Luke Page
71a371d6cd Pull out format normaliser. Fix #18 2015-08-05 23:21:28 +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
1183e25413 lint 2015-08-03 23:08:50 +01:00
Luke Page
2914659815 Do not process if checksum errors 2015-08-03 16:35:05 +01:00
Luke Page
233925190c Automated testing using phantomjs 2015-08-03 13:25:48 +01:00
Luke Page
80addf080b Fix issue interlacing small files 2015-08-02 23:25:57 +01:00
Luke Page
b9293eaa2b support for transparent colour blocks without palettes 2015-08-02 23:09:08 +01:00
Luke Page
86a114be2f Add interlaced to meta data 2015-08-02 11:50:19 +01:00
Luke Page
4def219e1e Merge remote-tracking branch 'origin/sync' 2015-08-02 11:23:12 +01:00
Luke Page
f7c70a92b4 Interlace support 2015-08-02 11:06:21 +01:00
Luke Page
2d91824d0c Support for 16 bit 2015-08-01 22:53:29 +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
Luke Page
abc6f7e789 doodles on sync 2015-07-30 17:50:14 +01:00
利奥
1415f9fe1a Merge pull request #1 from steelsojka/maxstack-fix
fix(chunkstream): max call stack thrown when parsing large pngs
2014-06-19 08:40:50 +08:00
steelsojka
df84165ca3 fix(chunkstream): max call stack thrown when parsing large pngs 2013-11-22 16:21:22 -06:00
brighthas
9dc3fc20b1 fixed fill 2013-10-21 21:08:53 +08:00
Kuba Niegowski
82dd9a96c0 v0.4.0 2013-06-05 23:17:19 +02:00
Kuba Niegowski
a527d93d7b v0.4.0-alpha 2012-11-29 00:39:43 +01:00
Pieterjan De Potter
db9d2bed67 tiny syntax fix 2012-11-28 16:25:52 +01:00
Pieterjan De Potter
0bdf465808 added possibility to use multiple filters 2012-11-28 16:19:14 +01:00
Pieterjan De Potter
303e231a7e added zlib deflateStrategy option, default to Z_RLE 2012-11-28 15:40:27 +01:00
Kuba Niegowski
dda49ff154 documentation update and v0.3.0-alpha 2012-08-23 09:41:02 +02: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
Kuba Niegowski
eedc329b9a Better scanline filter selection 2012-08-21 09:50:38 +02:00
Kuba Niegowski
207c02d323 checked background on test page 2012-08-20 23:32:20 +02:00
Kuba Niegowski
a34e6fe1cd added support for all color types (but still only 8 bits/sample) 2012-08-20 23:06:44 +02:00
Kuba Niegowski
2fe6c8805a bitblt 2012-08-19 23:36:53 +02:00
Kuba Niegowski
413c967aae first commit 2012-08-19 00:44:48 +02:00