界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
文档与办公 · SKILL.md

rendering-images-and-graphics

rendering-images-and-graphics

【文档与办公】Render pages, work with Pixmaps/images, extract or insert embedded images, and handle vector graphics/layout helpers in PyMuPDF.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: rendering-images-and-graphics description: "Render pages, work with Pixmaps/images, extract or insert embedded images, and handle vector graphics/layout helpers in PyMuPDF." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

Rendering, Images, and Graphics

Use this sub-skill for visual workflows: page rasterization, Pixmap/image bytes, embedded image extraction or insertion, vector drawing inspection/replay, SVG output, and coordinate-aware graphics/layout helpers.

Read or run

Default decisions

Use Page.get_pixmap() for screenshot-like page output. Use xref/image APIs when the user wants original embedded images. Use dpi= for ordinary resolution; use matrix= for transforms. Keep alpha=False and annots=False unless those appearances are explicitly needed.

我的收藏