djvu library
DjVu parsing entry points and page model.
Classes
- ArchiveEntry
- A physical entry of a book's container archive.
- BinaryFile
- Represents a binary book file.
- Book
- A fully parsed book, independent of its source format.
- BookCover
- A book cover: raw bytes plus the detected image type.
- BookFile
- Abstract representation of a file inside a book container.
- BookMetadata
- Format-agnostic book metadata extracted from any supported book file.
- BookStatistics
- Basic reading statistics computed from book content.
- DjvuBook
- A DjVu book with directly stored JPEG or decoded page images in reading order.
- DjvuPage
- One DjVu page with a directly stored JPEG or decoded BMP image.
- DocumentBook
- A document-backed book produced by text and office-format adapters.
- Files
- The files contained in a parsed book.
- The navigation (table of contents) of a book.
- Represents a navigation point (table of contents entry) in a book.
- ReadingOrderItem
- One entry of a book's reading order.
- TextFile
- Represents a text book file.
Enums
- BookFormat
- The book formats supported by unseal.
Functions
-
parseDjvuBook(
Uint8List bytes) → DjvuBook - Opens direct BGjp JPEG pages, page-local JB2 masks, and bounded IW44 layers.
-
readDjvuMetadata(
Uint8List bytes) → BookMetadata - Validates the container and reads DjVu metadata without decoding image data.
Exceptions / Errors
- DjvuException
- Malformed or excessive DjVu input.
- DjvuUnsupportedCodecException
- A valid page whose image codec is not yet decoded by Unseal.