Add support for input array to join or animate #1580

This commit is contained in:
Lovell Fuller
2025-02-07 13:53:27 +00:00
parent 67ff930535
commit 5ab9168813
12 changed files with 377 additions and 20 deletions

View File

@@ -724,3 +724,19 @@ sharp({ pdfBackground: color });
sharp({ autoOrient: true });
sharp({ autoOrient: false });
sharp().autoOrient();
sharp([input, input]);
sharp([input, input], {
join: {
animated: true
}
});
sharp([input, input], {
join: {
across: 2,
shim: 5,
background: colour,
halign: 'centre',
valign: 'bottom'
}
});