fn walk_images( dir: &Path, base: &Path, out: &mut Vec<ScannedFile>, unreadable: &mut Vec<String>, )
递归收集 dir 下的图片文件(跳过以 . 开头的目录/文件)。 out 收集可读文件;unreadable 收集磁盘存在但尺寸读取失败的路径 (保护其 DB 行不被删除步骤误删——见 issue #30)。
.
out
unreadable