Speed up limitInputPixels test case

Update changelog
This commit is contained in:
Lovell Fuller 2016-04-04 12:48:53 +01:00
parent 8c9c070caf
commit 71fb839e2b
2 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,14 @@
Requires libvips v8.2.3
#### v0.14.1 - TBC
* Allow removal of limitation on input pixel count via limitInputPixels. Use with care.
[#250](https://github.com/lovell/sharp/issues/250)
[#316](https://github.com/lovell/sharp/pull/316)
[@anandthakker](https://github.com/anandthakker)
[@kentongray](https://github.com/kentongray)
#### v0.14.0 - 2<sup>nd</sup> April 2016
* Add ability to extend (pad) the edges of an image.

View File

@ -879,6 +879,7 @@ describe('Input/output', function() {
it('Disabling limit works', function(done) {
sharp(fixtures.inputPngLarge)
.limitInputPixels(false)
.resize(2)
.toBuffer(function(err) {
assert.strictEqual(true, !err);
done();