# PDG 文件解密转换工具

**URL:** <https://forum.freemdict.com/t/topic/45294>\
**Category:** 软件经验交流展望\
**Tags:** pdg, 图像, pdf\
**Created:** [2026 年10 月 13 日 05:41 UTC](https://forum.freemdict.com/t/topic/45294 "2026-10-13T05:41:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixivivo](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mixivivo](https://forum.freemdict.com/u/mixivivo)\
**Post date:** [2026 年10 月 13 日 05:41 UTC](https://forum.freemdict.com/t/topic/45294/1 "2026-10-13T05:41:31Z")

</div>

# **PDG Converter**

* * *

🔴 本项目的代码和文本主要由 GPT-6.1-Sol 模型生成、输出。

⚠ 此处只是一个参考实现，本人不打算继续改进和整合，主要是破解 PDG 解密机制供感兴趣的人参考。要真的把一个 PDG 转换工具做得完善，可以处理各种格式和情况，是相当复杂的，要长期迭代、维护，不断积累 bug 和案例，付出的精力、时间太多。因此想要稳定可靠地转换 PDG，还是推荐用老马的 Pdg2Pic 程序。

🟩 目前已对一组 222 页的 HH v2 黑白样本完成像素一致性验证，覆盖编码类型 0x02 和 0x11；其他已实现分支主要依据静态分析和构造样本验证，不代表覆盖所有 PDG 版本与编码情况。

具体见：

> **[GitHub - mahavivo/pdg-converter: PDG文件转换工具](https://github.com/mahavivo/pdg-converter)**
>
> PDG文件转换工具

---

<div class="post-metadata">

**Author:** ![wangyu1314](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/w/a3d4f5/32.png) [@wangyu1314](https://forum.freemdict.com/u/wangyu1314)\
**Post date:** [2026 年10 月 13 日 10:59 UTC](https://forum.freemdict.com/t/topic/45294/2 "2026-10-13T10:59:12Z")

</div>

大佬牛逼，要是能够继续完善就好了
