OS Manuals

/usr/share/open-webui/bin/pypdfium2

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

From open-webui 0.9.6-r1 (os), captured 2026-11-05 by running pypdfium2 --help (exit 0). permalink

Also provided by 1 other package version
usage: pypdfium2 [-h] [-v]
                 {arrange,attachments,extract-images,extract-text,imgtopdf,pageobjects,pdfinfo,fonts,default-fonts,render,tile,toc}
                 ...

pypdfium2 is a Python binding to PDFium, a PDF processing library.
This is the command-line interface. Invoke as `pypdfium2` or `python3 -m pypdfium2_cli`.

pypdfium2's CLI mainly serves testing purposes, similar to pdfium_test upstream.
It is not meant as a feature-complete PDF toolkit for end users.
There are no API stability promises; backward incompatible changes may be made.

Environment variables:
- PYPDFIUM_LOGLEVEL {debug,info,warning,error,critical} = debug
  Controls the logging level.
- DEBUG_AUTOCLOSE {debug,warning,critical} = warning
  How much info to print about (auto-)closing of PDFium objects.
- DEBUG_UNSUPPORTED {0,1} = 1
  Whether to enable or disable the unsupported feature handler.
- DEBUG_SYSFONTS {0,1} = 0
  Whether to install a sysfont listener.

positional arguments:
  {arrange,attachments,extract-images,extract-text,imgtopdf,pageobjects,pdfinfo,fonts,default-fonts,render,tile,toc}
    arrange             Rearrange/merge documents
    attachments         List/extract/edit embedded files
    extract-images      Extract images
    extract-text        Extract text
    imgtopdf            Convert images to PDF
    pageobjects         Print info on pageobjects
    pdfinfo             Print info on document and pages
    fonts               List a document's fonts
    default-fonts       Dump info about default fonts
    render              Rasterize pages
    tile                Tile pages (N-up)
    toc                 Print table of contents

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
Options (2)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-v, --versionshow program's version number and exithelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.