mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 02:30:12 +02:00
TypeScript: Add missing properties for animated images (#4369)
This commit is contained in:
parent
5b5dfbad77
commit
38b6f44611
4
lib/index.d.ts
vendored
4
lib/index.d.ts
vendored
@ -1699,6 +1699,10 @@ declare namespace sharp {
|
|||||||
/** When using the attention crop strategy, the focal point of the cropped region */
|
/** When using the attention crop strategy, the focal point of the cropped region */
|
||||||
attentionX?: number | undefined;
|
attentionX?: number | undefined;
|
||||||
attentionY?: number | undefined;
|
attentionY?: number | undefined;
|
||||||
|
/** Number of pages/frames contained within the image, with support for TIFF, HEIF, PDF, animated GIF and animated WebP */
|
||||||
|
pages?: number | undefined;
|
||||||
|
/** Number of pixels high each page in a multi-page image will be. */
|
||||||
|
pageHeight?: number | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AvailableFormatInfo {
|
interface AvailableFormatInfo {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user