← 返回 Skills 市场
wangchuang9523-gif

A4 To A3 Pdf

作者 wangchuang9523-gif · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install a4-to-a3-pdf
功能描述
将文件夹中的图片按顺序两两合并为A3横向PDF(两张A4左右并排)。触发词:合并PDF、合成A3、两张A4合成一页、图片转PDF。
使用说明 (SKILL.md)

\r \r

A4 to A3 PDF Merger\r

\r 将多张图片合并为 A3 横向 PDF,每页放置两张图片(左右并排)。\r \r

Usage\r

\r

方法1:使用脚本(推荐)\r

\r

python scripts/merge_a4_to_a3.py \x3C图片文件夹> \x3C输出PDF路径> [dpi]\r
```\r
\r
示例:\r
```bash\r
python scripts/merge_a4_to_a3.py "C:\Users\ZERO\Desktop\质保书" "C:\Users\ZERO\Desktop\输出.pdf"\r
```\r
\r
### 方法2:手动生成\r
\r
如需自定义(如添加白边、调整尺寸),参考脚本逻辑自行修改。\r
\r
## Output Format\r
\r
- 页面尺寸:A3 横向(420mm × 297mm)\r
- 每页:左右两张 A4 图片,无白边\r
- 分辨率:默认 300 DPI\r
- 图片按数字顺序排列(1.jpg, 2.jpg, ...)\r
\r
## Dependencies\r
\r
- Python 3.x\r
- Pillow: `python -c "from PIL import Image"` 或 `python -m pip install Pillow`\r
安全使用建议
This skill appears to do only local image-to-PDF work and is coherent with its description. Before using: (1) ensure you have Python 3 and an up-to-date Pillow package installed; (2) run it on folders you control — the script will read image files in the supplied folder and write the output PDF to the supplied path and may overwrite existing files with the same name; (3) note the script only looks for numerically named files starting at 1 and only checks alternative extensions for the first file, so rename or reindex your images if they don't follow that pattern; (4) as with any image-processing tool, avoid running it on untrusted or maliciously crafted images unless your imaging libraries are patched, since image libraries have historically had security vulnerabilities.
功能分析
Type: OpenClaw Skill Name: a4-to-a3-pdf Version: 1.0.0 The skill bundle provides a straightforward utility for merging images into an A3 landscape PDF. The Python script (scripts/merge_a4_to_a3.py) uses the standard Pillow library to process images locally and contains no evidence of network activity, data exfiltration, or malicious execution. The instructions in SKILL.md are purely functional and do not contain any prompt injection attempts.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the included Python script all describe and implement the same functionality (pairwise merging of numbered images into A3 landscape PDF). Required dependency (Pillow) is appropriate and proportional. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
Runtime instructions stay within the expected scope (read images from a specified folder, resize, and write a PDF). The SKILL.md and script are consistent overall, but the script's image-discovery logic is fragile: it only tests alternative extensions for the first image and iterates numeric filenames 1..999, so images not named in that numeric sequence (or starting at a number >1) may be ignored — this is a correctness/coverage issue rather than a security problem. There are no instructions to read unrelated files, environment variables, or to transmit data externally.
Install Mechanism
No install spec — instruction-only plus a local script. This is low-risk: nothing is downloaded or installed by the skill itself. The only runtime dependency is the standard Pillow library installed via pip, which is appropriate for image operations.
Credentials
The skill requires no environment variables, credentials, or config paths. Its access is limited to the folder you pass on the command line and the output path you choose, which matches its purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or modify other skills or system-wide settings. Autonomous invocation is allowed by platform default but not a special privilege here and does not combine with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a4-to-a3-pdf
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a4-to-a3-pdf 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
a4-to-a3-pdf 1.0.0 – Initial Release - Merge multiple images from a folder into a horizontal A3 PDF, placing two A4-sized images side by side per page. - Supports processing via command-line script, allowing specification of input folder, output PDF path, and optional DPI. - Maintains digital order for PDF page arrangement. - Output PDF uses A3 landscape size (420mm × 297mm) with no margins by default. - Requires Python 3.x and Pillow library.
元数据
Slug a4-to-a3-pdf
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

A4 To A3 Pdf 是什么?

将文件夹中的图片按顺序两两合并为A3横向PDF(两张A4左右并排)。触发词:合并PDF、合成A3、两张A4合成一页、图片转PDF。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 A4 To A3 Pdf?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a4-to-a3-pdf」即可一键安装,无需额外配置。

A4 To A3 Pdf 是免费的吗?

是的,A4 To A3 Pdf 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A4 To A3 Pdf 支持哪些平台?

A4 To A3 Pdf 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A4 To A3 Pdf?

由 wangchuang9523-gif(@wangchuang9523-gif)开发并维护,当前版本 v1.0.0。

💬 留言讨论