Skip to content

微博图片改为同时保存官方原图与无水印版(oslarge 伴侣文件)及看图层切换 #103

Done

Description

@chialecode

Agent:按仓库所有者 2026-11-26 实测确认(ACT-023 与单帖对照实测证实 /large/ 为真原图最高质、/oslarge/ 为 690px 宽无水印最高质),将微博去水印从替换主图改为双份保存并记录新决定 DEC-078:

  1. 主图 images/NN.<ext>(role: "image")始终保存官方最高清原图 /large/,绝不降分辨率覆盖;
  2. 「设置 › 缓存与下载」开关改为「微博同时保存无水印版」(默认开启,向后兼容 settings.json v1 既有 weiboRemoveWatermark 键):对静态微博图片额外从 /oslarge/ 拉取无水印最高画质版存为同目录伴侣文件 images/NN_nowm.<ext>(role: "image_nowm",GIF 跳过,与原图 SHA-256 相同或源站不可得时静默跳过、绝不拖垮主图);
  3. item.json 保持 version: 1,伴侣文件纳入 Media[] 与 NotePages[] 登记,删除/刷新/导出导入/SHA-256 校验自动协同且媒体库网格不重复展示伴侣卡片;
  4. 看图层查看带无水印伴侣文件的微博图片时提供一键切换「原图 / 无水印」按钮;同步回写 DEC-078、需求、设计与界面规范。

Activity

  1. added
    feature
    in-progress
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurein-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions