mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Prefer integer (un)premultiply for faster RGBA resize
Add changelog, loosen modulate test thresholds
This commit is contained in:
parent
9e2207f376
commit
8d8c6b70eb
@ -16,6 +16,8 @@ Requires libvips v8.14.0
|
|||||||
|
|
||||||
* Add `formatMagick` property to metadata of images loaded via *magick.
|
* Add `formatMagick` property to metadata of images loaded via *magick.
|
||||||
|
|
||||||
|
* Prefer integer (un)premultiply for faster resizing of RGBA images.
|
||||||
|
|
||||||
* Allow use of GPS (IFD3) EXIF metadata.
|
* Allow use of GPS (IFD3) EXIF metadata.
|
||||||
[#2767](https://github.com/lovell/sharp/issues/2767)
|
[#2767](https://github.com/lovell/sharp/issues/2767)
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ describe('Modulate', function () {
|
|||||||
.png({ compressionLevel: 0 })
|
.png({ compressionLevel: 0 })
|
||||||
.toFile(actual)
|
.toFile(actual)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
fixtures.assertMaxColourDistance(actual, expected);
|
fixtures.assertMaxColourDistance(actual, expected, 3);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user