Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dealing with Embedded Files

Jorj X. McKie edited this page Nov 19, 2019 · 7 revisions

The recipe below the line can now be implemented much easier usign the new (v.1.16.8) cammand line interface of PyMuPDF. Also note that MuPDF does no longer support embedded files since after their version 1.14, so PyMuPDF is unique in that respect. The following command of the fitz module deal with embedded files:

  • python -m fitz embed-info - list embedded files (long and short versions)
  • python -m fitz embed-add - insert a new file
  • python -m fitz embed-del - delete a file
  • python -m fitz embed-upd - update a file
  • python -m fitz embed-extract - extract data of a file
  • python -m fitz embed-copy - copy embedded files between two PDFs

Please see the documentation for details or request help (-h) from the command line.

There also exist example scripts here.

Recipes

HOWTO Button annots with JavaScript

HOWTO extract images

HOWTO join PDFs

HOWTO work with PDF embedded files

HOWTO Convert Images

HOWTO extract text from inside rectangles

HOWTO extract text in natural reading order

HOWTO add PDF form fields

HOWTO deal with annotations

HOWTO convert to PDF

HOWTO show PDF Form fields

HOWTO work with vector images

HOWTO create or extract graphics

HOWTO create your own PDF Drawing

HOWTO add pages, images, text

HOWTO extract fonts

HOWTO rearrange pages

HOWTO GUI PDF display

Algebra with geometry objects

Rectangle inclusion & intersection

Hyperlink maintenance

Visual table extraction

Incremental saves

Metadata & bookmark maintenance

Wrapping FileOptimizer

Installation

Ubuntu

Ubuntu Installation Experience

Windows Binaries

Windows Binaries Generation

Windows Binaries Installation

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /