mirror of
https://github.com/danbulant/pngjs
synced 2026-06-20 15:01:33 +00:00
Coveralls badge
This commit is contained in:
parent
3a3b1ef242
commit
a3620b0f02
2 changed files with 6 additions and 6 deletions
10
README.md
10
README.md
|
|
@ -1,4 +1,4 @@
|
|||
[](https://travis-ci.org/lukeapage/pngjs2) [](https://ci.appveyor.com/project/lukeapage/pngjs2/branch/master) [](http://badge.fury.io/js/pngjs2)
|
||||
[](https://travis-ci.org/lukeapage/pngjs2) [](https://ci.appveyor.com/project/lukeapage/pngjs2/branch/master) [](https://coveralls.io/github/lukeapage/pngjs2?branch=master) [](http://badge.fury.io/js/pngjs2)
|
||||
pngjs2
|
||||
========
|
||||
Simple PNG encoder/decoder for Node.js with no dependencies.
|
||||
|
|
@ -20,7 +20,7 @@ Requirements
|
|||
|
||||
Async - Node.js 0.10 / 0.12 / IO.js
|
||||
Sync - Node.js 0.12 / IO.js
|
||||
|
||||
|
||||
Comparison Table
|
||||
================
|
||||
|
||||
|
|
@ -49,11 +49,11 @@ Tested using [PNG Suite](http://www.schaik.com/pngsuite/). We read every file in
|
|||
with the newly saved images.
|
||||
|
||||
To run the tests, run `node test`.
|
||||
|
||||
|
||||
The only thing not converted is gamma correction - this is because multiple vendors will do gamma correction differently, so the tests will have different results on different browsers.
|
||||
|
||||
|
||||
In addition we use a tolerance of 3 for 16 bit images in PhantomJS because PhantomJS seems to have non-compliant rules for downscaling 16 bit images.
|
||||
|
||||
|
||||
Installation
|
||||
===============
|
||||
```
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ module.exports = function(done) {
|
|||
|
||||
files.forEach(function (file) {
|
||||
|
||||
console.log(file);
|
||||
//console.log(file);
|
||||
var expectedError = false;
|
||||
if (file.match(/^x/)) {
|
||||
expectedError = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue