Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/pdf2imgs
将 PDF 文件转换为图片,可合并为一张长图或多张图。当用户提到 PDF 转图片、PDF 截图、PDF 转长图 时使用。
Passed 23 of 23 test cases with the skill, and 4 of 23 without it.
and 24 more in the full report
19 fixed4 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
Provide a minimal Python snippet demonstrating how to import and call the PDF-to-image converter module from the skills package on `./paper.pdf` saving to `./paper_img/`.
| Checked | Without skill | With skill |
|---|---|---|
| The import statement matches 'from skills.pdf import pdf2imgs'. | Missed | Passed |
The instructions your model reads when the skill loads.
将 PDF 转换为图片
将 PDF 文件转换为图片,支持合并为一张大图或多张图片。
office/skills/pdf/pdf2imgs/
from skills.pdf import pdf2imgs
pdf2imgs(
input_file='./test.pdf',
output_file='./images/',
merge=False
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_file | str | 否 | - | PDF 文件路径 |
output_file | str | 否 | - | 输出图片路径 |
merge | bool | 否 | False | 是否合并为一张图片 |
pdf_path | str | 否 | - | [已弃用] 请使用 input_file |
out_dir | str | 否 | - | [已弃用] 请使用 output_file |
None
test cases passed, vs 4 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.