Improve Stream error handling #88

This commit is contained in:
Lovell Fuller
2014-09-12 19:30:57 +01:00
parent 34c96ff925
commit 515b4656e6
3 changed files with 46 additions and 11 deletions

View File

@@ -419,23 +419,25 @@ var counters = sharp.counters(); // { queue: 2, process: 4 }
### It worked on my machine
npm test
```
npm test
```
Running the comparative performance tests requires _ImageMagick_ and _GraphicsMagick_.
```
brew install imagemagick
brew install graphicsmagick
brew install imagemagick
brew install graphicsmagick
```
```
sudo apt-get install -qq imagemagick graphicsmagick
sudo apt-get install -qq imagemagick graphicsmagick
```
```
sudo yum install ImageMagick
sudo yum install -y http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install -y --enablerepo=epel GraphicsMagick
sudo yum install ImageMagick
sudo yum install -y http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install -y --enablerepo=epel GraphicsMagick
```
## Performance