More Types, Fixed isImageBlank

This commit is contained in:
Felix Kaspar
2023-11-16 01:56:17 +01:00
parent 8f1f64f6c0
commit 921a8c431c
4 changed files with 13 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ export type PDFJSImage = {
height: number;
interpolate?: any;
kind: number;
data: Uint8Array;
data: Uint8ClampedArray;
};
export async function getImagesOnPage(page: PDFPageProxy): Promise<PDFJSImage[]> {