Commit graph

37 commits

Author SHA1 Message Date
Luke Page
32271b56e3 prettier, es6, upgrades 2020-04-09 20:28:27 +02:00
smallnamespace
5d5f543c41
Fix https://github.com/lukeapage/pngjs/issues/129 (#130) 2020-04-09 15:50:37 +02:00
ossdev07
90e00c07fd
Pngjs:Replace phantomjs dependency with chromium puppeteer (#135)
* pngjs: Replace phantomjs dependency with chromium puppeteer

Signed-off-by: ossdev <ossdev@puresoftware.com>

* pngjs: Replace phantomjs dependency with chromium puppeteer

Signed-off-by: ossdev <ossdev@puresoftware.com>

* Removed Node-v6 and added Node-v12 support from travis
2020-04-09 15:49:20 +02:00
Zachary Holyszko
257a4c972d
fix(buffer): migrate to safe constructor methods (#134)
Co-authored-by: Zachary Holyszko <zholyszko@dmdconnects.com>
2020-04-09 15:48:18 +02:00
Cory Snider
0b5822a4be Emit an error if the image is truncated (#118)
If the image data is truncated on a chunk read boundary, PNGjs would
hang. Now it emits an error event.
2019-03-08 06:31:01 +01:00
Liam McLoughlin
decc76f686 Return a correct alpha value in the metadata callback when a tRNS chunk is present (#119)
* Fix "metadata" alpha property to respect presence of tRNS chunk

* Emit metadata at first IDAT chunk

* Fix typo
2019-03-08 06:27:54 +01:00
greenkeeperio-bot
4d6b6c16da chore(package): update eslint to version 2.1.0
http://greenkeeper.io/
2016-02-16 06:06:25 +01:00
Luke Page
159221c115 move color type constants to constants. Revert change requiring default options on null. 2015-09-13 18:40:53 +01:00
michuNEEO
6467ad747b update readme, fix stlye issues 2015-09-13 14:41:40 +02: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
109c83eba2 add the tests from pngparse - fixes #12 2015-08-08 16:39:29 +01:00
Luke Page
adf5216a49 Tidy up filtering. 2015-08-07 07:59:57 +01:00
Luke Page
6607d71c04 test - no large option the wrong way round 2015-08-07 08:26:27 +01:00
Luke Page
88869809e5 tweaks to CI config 2015-08-07 08:12:46 +01:00
Luke Page
1c817dbb9d pick up nolarge no matter how many spec files there are 2015-08-06 19:45:24 +01:00
Luke Page
b24153494e Even longer timeouts 2015-08-06 18:47:19 +01:00
Luke Page
411d777e22 Large timeouts for slow CI servers 2015-08-06 18:36:06 +01:00
Luke Page
a5b282356b bg spec 2015-08-06 13:23:33 +01:00
Luke Page
5310b0ed5f Code format test code 2015-08-06 13:12:14 +01:00
Luke Page
288a696584 Tap ftw 2015-08-06 13:08:58 +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
ff9d322a36 add ability to write gamma chunks 2015-08-05 17:00:37 +01:00
Luke Page
a3620b0f02 Coveralls badge 2015-08-03 22:40:03 +01:00
Luke Page
3a3b1ef242 Code coverage 2015-08-03 22:36:36 +01:00
Luke Page
2914659815 Do not process if checksum errors 2015-08-03 16:35:05 +01:00
Luke Page
b89ef0384f tidy up tests 2015-08-03 16:18:01 +01:00
Luke Page
233925190c Automated testing using phantomjs 2015-08-03 13:25:48 +01:00
Luke Page
8933a9048d For now, set a 16 tolerance on 16bit images because of gamma issue and a tolerance of 1 on the 2.2 8bit gamma correction test. 2015-08-03 07:54:05 +01:00
Luke Page
b9293eaa2b support for transparent colour blocks without palettes 2015-08-02 23:09:08 +01:00
Luke Page
51365543ae Add automated test to test page 2015-08-02 17:19:55 +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
Luke Page
b5328d3574 test tweaks and markdown 2015-07-31 06:02:51 +01:00
Luke Page
30e6e38e22 move tests, increase tests 2015-07-30 23:30:30 +01:00