TypeScript: Add missing properties for animated images (#4369)

This commit is contained in:
Steven D'Onfro
2025-04-12 06:38:24 -04:00
committed by GitHub
parent 5b5dfbad77
commit 38b6f44611

4
lib/index.d.ts vendored
View File

@@ -1699,6 +1699,10 @@ declare namespace sharp {
/** When using the attention crop strategy, the focal point of the cropped region */
attentionX?: 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 {