pdf-to-images SKILL.md skillA
pdf-to-images from black-yt/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add black-yt/skills/pdf-to-images@git:20260603.562eddePins git:20260603.562edde in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- black-yt/skills
- Path
pdf-to-images/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260603.562edde, committed Jun 3, 2026
- First version recorded
- May 9, 2026
- Size
- 5,049 bytes
- Repository stars
- 16
- License
- none declared
当需要用系统级 Ghostscript 或 Poppler pdftoppm 将 PDF 页面导出为 PNG/JPEG 图片,支持单页、页码范围、整篇导出和论文排版可视化检查时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PDF 转图片 ## 核心原则 - 首选系统级工具:Ghostscript (`gs`) 或 Poppler `pdftoppm`。 - `pdftoppm` 适合把 PDF 稳定渲染成页面图片,用于论文写作、LaTeX 编译检查和排版验收。 - `gs` 适合已有 Ghostscript 环境、需要 `pngalpha` 或更细控制输出设备的场景。 - 输出图片放到明确的预览目录,不要和源文件目录混在一起。 - 不要长期把输出放在 `/tmp`,避免环境清理后结果丢失。 - 按需设置页码范围,避免不必要地导出整篇 PDF。 - 如果缺依赖需要安装,先确认当前环境是否允许安装;共享环境或集群环境中不要擅自安装系统包。 ## 工具选择 - **快速论文预览。** 优先用 `pdftoppm -png -r 180`。 - **检查字体、图标、表格细节。** 使用 `pdftoppm -png -r 200` 或 `-r 300`。 - **检查图表是否溢出或页面是否截断。** `150-180` DPI 通常足够。 - **需要 alpha PNG 或 Ghostscript 已是默认工具。** 使用 `gs -sDEVICE=pngalpha`。 ## 安装与检查 Poppler / `pdftoppm`: ```bash # Ubuntu / Debian / WSL sudo apt update sudo apt install -y poppler-utils # macOS brew install poppler # conda conda install -c conda-forge poppler # Windows 推荐 conda conda install -c conda-forge poppler ``` 检查: ```bash pdftoppm -v pdfinfo -v ``` Ghostscript: Debian/Ubuntu: ```bash apt-get update DEBIAN_FRONTEND=noninteractive apt-get install -y ghostscript apt-get clean ``` 检查: ```bash gs --version ``` ## 导出单页或页码范围 创建输出目录: ```bash mkdir -p /path/to/project/pdf_pages_png ``` ### 使用 pdftoppm 导出整篇 PDF: ```bash pdftoppm -png -r 180 /path/to/project/main.pdf /path/to/project/pdf_pages_png/page ``` …
Read the whole file at its exact version.
How to install
mdr add black-yt/skills/pdf-to-images@sha256:b764918cfbd5adf3The line at the top of this page pins the label git:20260603.562edde, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ysx7uylzyp4bxfpq)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between May 9, 2026 and Jun 3, 2026, about one every 25 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260603.562edde latest | 2026-06-03 | 562edde | 5,049 B | A | view · diff |
| git:20260509.e0ce9ca | 2026-05-09 | e0ce9ca | 2,100 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5049 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
black-yt/skills · 16 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ysx7uylzyp4bxfpq GET https://markdownregistry.com/api/v1/resolve?ref=black-yt/skills/pdf-to-images GET https://markdownregistry.com/api/v1/blob/b764918cfbd5adf3559dfc3dcbf13dd6c6371b6c45ad715971141a878210197f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.