mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 02:50:15 +02:00
Speed up limitInputPixels test case
Update changelog
This commit is contained in:
parent
8c9c070caf
commit
71fb839e2b
@ -4,6 +4,14 @@
|
|||||||
|
|
||||||
Requires libvips v8.2.3
|
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
|
#### v0.14.0 - 2<sup>nd</sup> April 2016
|
||||||
|
|
||||||
* Add ability to extend (pad) the edges of an image.
|
* Add ability to extend (pad) the edges of an image.
|
||||||
|
@ -879,6 +879,7 @@ describe('Input/output', function() {
|
|||||||
it('Disabling limit works', function(done) {
|
it('Disabling limit works', function(done) {
|
||||||
sharp(fixtures.inputPngLarge)
|
sharp(fixtures.inputPngLarge)
|
||||||
.limitInputPixels(false)
|
.limitInputPixels(false)
|
||||||
|
.resize(2)
|
||||||
.toBuffer(function(err) {
|
.toBuffer(function(err) {
|
||||||
assert.strictEqual(true, !err);
|
assert.strictEqual(true, !err);
|
||||||
done();
|
done();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user