docs(review): hygiene cleanup and review preparation for 3 pending posts
Deploy / build (push) Successful in 33s

This commit is contained in:
hoelee committed 2026-10-29 13:31:32 +08:00
1 parent c78d04a61b
commit c0ea7ea066
8 files changed
+1385 -1340

No files matched your search

@@ -90,8 +90,8 @@ ComfyUI 的底层设计天然由节点图(Node Graph)驱动,其工作流
└── (直接提交合入 Git 仓库对应目录)
```
<details>
<summary>点击查看批处理编排核心脚本(Python 关键片段)</summary>
<details class="tech-deep-dive">
<summary>🔍 查看批处理编排核心脚本(Python 关键片段,47 行)</summary>
```python
import json
@@ -155,8 +155,8 @@ def generate_cover(slug, topic_metaphor):
2. **平均亮度与拉普拉斯边缘方差双重门禁**:单纯检查平均亮度存在严重盲区——暗色背景上的高对比度青色线框或乱码文字同样具备极低的平均亮度,却会彻底摧毁大标题的可读性。为了避免引入 OpenCV 等重型依赖,审计脚本直接利用纯 Pillow 内置的 3×3 拉普拉斯卷积核(`ImageFilter.Kernel`)提取高频边缘图,并计算标准差(`stddev`)进行拦截。
3. **规范化转码**:统一缩放至 Open Graph 标准的 `1200×630` 规格,输出为 85% 质量等级的现代 WebP 格式,严格确保单张体积控制在 100KB 以内。
<details>
<summary>点击查看纯 Pillow 留白净度审计算法实现(Python 关键片段)</summary>
<details class="tech-deep-dive">
<summary>🔍 查看纯 Pillow 留白净度审计算法实现(Python 关键片段,33 行)</summary>
```python
from PIL import Image, ImageFilter, ImageStat