Types: include base input options for composite #3669

This commit is contained in:
Lovell Fuller
2023-05-16 13:55:28 +01:00
parent de0fc07092
commit 3340120aea
2 changed files with 16 additions and 19 deletions

View File

@@ -637,3 +637,17 @@ sharp('input.png').composite([
sharp('input.png').tile({
basename: 'output.dz.tiles',
});
// https://github.com/lovell/sharp/issues/3669
sharp(input).composite([
{
raw: {
width: 1,
height: 1,
channels: 1,
premultiplied: false,
},
sequentialRead: false,
unlimited: true,
}
]);