tools.djvu
— DJVU files wrapper#
Wrapper around djvulibre to access djvu files properties and content.
- class tools.djvu.DjVuFile(file)[source]#
Bases:
object
Wrapper around djvulibre to access djvu files properties and content.
Perform file existence checks.
Control characters in djvu text-layer are converted for convenience (see http://djvu.sourceforge.net/doc/man/djvused.html for control chars details).
- Parameters:
file (str) – filename (including path) to djvu file