mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Types: include base input options for composite #3669
This commit is contained in:
@@ -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,
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user