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 `python -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 {-1,0,1} = 0 Whether to print info about (auto-)closing of PDFium objects. Defaults to 0, which means warnings only. 1 enables debugging. -1 silences even warnings. - 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