Skeudenn / lib/image-scan / formatPageSize
Function: formatPageSize() ​
formatPageSize(
entry,locale?):string|null
Defined in: src/lib/image-scan.ts:15
The book's average page size as "1 200 × 1 800 px", or null until the background scan has measured it.
Parameters ​
entry ​
Pick<LibraryEntry, "avgPageWidth" | "avgPageHeight">
locale? ​
string
Returns ​
string | null