Skip to content

Commit 38b6f44

Browse files
authored
TypeScript: Add missing properties for animated images (#4369)
1 parent 5b5dfba commit 38b6f44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,10 @@ declare namespace sharp {
16991699
/** When using the attention crop strategy, the focal point of the cropped region */
17001700
attentionX?: number | undefined;
17011701
attentionY?: number | undefined;
1702+
/** Number of pages/frames contained within the image, with support for TIFF, HEIF, PDF, animated GIF and animated WebP */
1703+
pages?: number | undefined;
1704+
/** Number of pixels high each page in a multi-page image will be. */
1705+
pageHeight?: number | undefined;
17021706
}
17031707

17041708
interface AvailableFormatInfo {

0 commit comments

Comments
 (0)