Expand description
Image extraction helpers for DOCX archives.
Parses word/_rels/document.xml.rels to build a relId -> media part path
mapping, and reads raw image bytes from the ZIP archive.
Structs§
- Relationships
- Parsed relationship mapping from
word/_rels/document.xml.rels.
Functions§
- extension_
from_ filename - Extracts the file extension (lowercase, without dot) from a filename.
- read_
zip_ part - Reads the raw bytes of a ZIP entry by name.