Upgrade to libvips v8.12.0-rc1

This commit is contained in:
Lovell Fuller
2021-11-16 10:28:38 +00:00
parent 1ff84b20b7
commit 079bd7b9f5
14 changed files with 111 additions and 77 deletions

View File

@@ -247,7 +247,7 @@ describe('composite', () => {
sharp(fixtures.inputJpg)
.resize(300, 300)
.composite([{
input: Buffer.from('<svg><rect x="0" y="0" width="200" height="200" rx="50" ry="50"/></svg>'),
input: Buffer.from('<svg width="200" height="200"><rect x="0" y="0" width="200" height="200" rx="50" ry="50"/></svg>'),
density: 96,
blend: 'dest-in',
cutout: true