mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support for input array to join or animate #1580
This commit is contained in:
@@ -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'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user