mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add pageHeight param to create/new for animated input #3236
This commit is contained in:
@@ -418,6 +418,7 @@ sharp({
|
||||
channels: 4,
|
||||
height: 25000,
|
||||
width: 25000,
|
||||
pageHeight: 1000,
|
||||
},
|
||||
limitInputPixels: false,
|
||||
})
|
||||
@@ -734,6 +735,13 @@ sharp({ svg: { stylesheet: 'test' }});
|
||||
sharp({ svg: { highBitdepth: true }});
|
||||
sharp({ svg: { highBitdepth: false }});
|
||||
|
||||
// Raw input options
|
||||
const raw: sharp.Raw = { width: 1, height: 1, channels: 3 };
|
||||
sharp({ raw });
|
||||
sharp({ raw: { ...raw, premultiplied: true } });
|
||||
sharp({ raw: { ...raw, premultiplied: false } });
|
||||
sharp({ raw: { ...raw, pageHeight: 1 } });
|
||||
|
||||
sharp({ autoOrient: true });
|
||||
sharp({ autoOrient: false });
|
||||
sharp().autoOrient();
|
||||
|
||||
Reference in New Issue
Block a user