diff --git a/README.md b/README.md index 5f2bca8..4cc4762 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ - [主题与 LUT 库的 FCP 验收](verification/HostThemeLUT.json) - [早期调色链的 FCP 验收](verification/Host.json) -主题与 LUT 浏览库版本为 1.1.0(6),源码标签 `v1.1.0-theme-lut-20261031`。灰、蓝、紫、绿、橙五套主题采用原版完整配色和分组样式,切换后跨实例记忆。风格 LUT 左侧网格按钮打开缩略图浏览器,右侧文件夹按钮打开 `~/Movies/大鱼调色LUT/look LUTs`。可导入文件或目录,按目录与名称过滤,单击应用,缩略图大小与目录会保存。 +当前版本为 1.1.1(7),增加统一的光谱鱼程序图标与 FCP 插件缩略图。两张原始生成图及提示词保存在 `design/`;运行 `python3 tools/build_brand_assets.py` 使用 macOS 工具导出十种图标尺寸、ICNS、640×360 与 240×135 的效果预览。原图不会在构建时重新生成。 + +主题与 LUT 浏览库自 1.1.0(6)提供,源码标签 `v1.1.0-theme-lut-20261031`。灰、蓝、紫、绿、橙五套主题采用原版完整配色和分组样式,切换后跨实例记忆。风格 LUT 左侧网格按钮打开缩略图浏览器,右侧文件夹按钮打开 `~/Movies/大鱼调色LUT/look LUTs`。可导入文件或目录,按目录与名称过滤,单击应用,缩略图大小与目录会保存。 缩略图使用当前素材先经过输入 LUT 的画面;没有源帧时显示本产品生成的色卡。显示方向与宿主图像原点一致,自动分析保留自己的原始数据。浏览器优先采用 FxPlug 宿主窗口,不能使用时回退为锚定弹出面板。品牌保留大鱼,吸管仍为系统取色器。 diff --git a/design/ASSETS.json b/design/ASSETS.json new file mode 100644 index 0000000..9fc154a --- /dev/null +++ b/design/ASSETS.json @@ -0,0 +1,24 @@ +{ + "generator": "OpenAI built-in image_gen", + "created": "2026-10-31", + "brand": "大鱼调色", + "assets": [ + { + "path": "design/dayu-color-app-icon-v1.png", + "width": 1254, + "height": 1254, + "alpha": true, + "prompt": "Use case: logo-brand.\nAsset type: final macOS application icon for the Chinese color-grading FxPlug product 大鱼调色 (Dayu Color).\nCreate ONE polished square 1024×1024 raster app icon, NOT a presentation board or mockup. A single bold, abstract fish silhouette formed from a smooth continuous spectral ribbon flowing cyan → blue → violet → magenta → warm orange, curving around a dark circular negative space like a color-grading wheel. The fish should read immediately at small Dock sizes, with a clear tail and elegantly tapered head, no eye details. Center it on a deep midnight-navy rounded-square app tile, restrained dimensional glass/enamel shading, clean premium native macOS software aesthetic. The tile occupies about 88% of the canvas, equal safety margins, subtle soft shadow, no extra rings or small controls. Outside the rounded square is genuinely transparent alpha. Crisp silhouette, balanced negative space, vivid color and controlled highlights. No lettering, no words, no badges, no watermark, no borrowed brand marks. This is the standalone icon asset itself, straight-on, not an icon pictured on a device or in a scene." + }, + { + "path": "design/dayu-color-plugin-thumbnail-v1.png", + "width": 1672, + "height": 941, + "alpha": false, + "reference": "design/dayu-color-app-icon-v1.png", + "prompt": "Use case: logo-brand.\nAsset type: final widescreen 16:9 plugin thumbnail for the Final Cut Pro effects browser, for 大鱼调色.\nInput Image 1 is a brand reference, not an edit target. Preserve its recognizable spectral fish silhouette and cyan-blue-violet-magenta-orange enamel material, but generate a NEW horizontal composition. One 16:9 image, preferably 1536×864 or 1920×1080, not a presentation board.\nFull-bleed midnight navy background, very restrained soft chromatic illumination. The same circular spectral fish emblem sits prominently on the left half, WITHOUT a rounded-square app tile around it. On the right half, large perfectly legible white Chinese typography reading exactly \"大鱼调色\" in a modern bold sans-serif, horizontal one-line title. A little breathing room between emblem and title. The emblem and title have equal visual authority; both remain readable when reduced to a small effect thumbnail. Keep all essential content inside an 8% safety margin. Premium native creative-software identity, crisp luminous ribbon edges, controlled highlights and generous negative space. No other words or letters, no version numbers, no fake interface, no devices, no watermark, no extra logos, no additional fish. The final asset fills the entire rectangular canvas, with no outer transparent margin." + } + ], + "exportCommand": "python3 tools/build_brand_assets.py", + "note": "原始生成图保留;通过 macOS sips 和 iconutil 导出图标与 FCP 的两种预览尺寸。" +} diff --git a/design/dayu-color-app-icon-v1.png b/design/dayu-color-app-icon-v1.png new file mode 100644 index 0000000..a4bd98f Binary files /dev/null and b/design/dayu-color-app-icon-v1.png differ diff --git a/design/dayu-color-plugin-thumbnail-v1.png b/design/dayu-color-plugin-thumbnail-v1.png new file mode 100644 index 0000000..9e9a459 Binary files /dev/null and b/design/dayu-color-plugin-thumbnail-v1.png differ diff --git a/template/README.md b/template/README.md index 3312e73..2f70b64 100644 --- a/template/README.md +++ b/template/README.md @@ -16,4 +16,6 @@ python3 tools/build_template.py --output /绝对路径/大鱼调色.moef 工程模型有变更时,先审查变更,再加 `--refresh-model` 重新导出实际注册表与自有归档。它只编译并执行短时命令行元数据工具,不打开或运行原厂程序。既有输出必须明确加 `--overwrite`;普通重建直接复用版本化原始归档并核对模型源码哈希,以保持模板字节稳定。 -`verification/StaticContract.json`、`SavedSelection.json`、`SkillAudit.json` 记录当前落盘文件的静态检查:唯一滤镜、参数覆盖、四项发布、真实空绑定、无内容图层选中、源引用及无动画。静态检查已通过,不能替代正式已公证插件的 FCP/Motion 界面、保存重开和渲染验证。真实渲染预览与效果缩略图尚未生成,由正式交付验收补齐;本目录目前是待宿主验收候选。 +`verification/StaticContract.json`、`SavedSelection.json`、`SkillAudit.json` 记录当前落盘文件的静态检查:唯一滤镜、参数覆盖、四项发布、真实空绑定、无内容图层选中、源引用及无动画。实际 FCP 验收和导出记录见工程根目录 `verification/Host.json` 与 `HostThemeLUT.json`。 + +`large.png`(640×360)与 `small.png`(240×135)使用本产品的光谱鱼和“大鱼调色”品牌图。原图和生成提示词在 `design/`,运行 `python3 tools/build_brand_assets.py` 可重建。`verification/Preview.json` 记录来源与导出哈希;正式安装时设置预览文件锁,防止宿主自动覆盖。 diff --git a/template/large.png b/template/large.png index 33c2001..a0fe33d 100644 Binary files a/template/large.png and b/template/large.png differ diff --git a/template/small.png b/template/small.png index aa4d706..a620fb9 100644 Binary files a/template/small.png and b/template/small.png differ diff --git a/template/verification/Preview.json b/template/verification/Preview.json index 9a26520..f04b35b 100644 --- a/template/verification/Preview.json +++ b/template/verification/Preview.json @@ -1,6 +1,24 @@ { - "sourceVideo": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/大鱼调色_build2_正式宿主导出.mov", - "sourceVideoSHA256": "0a87bbe851ea1b9d49e95f2ee55fec5dbe47fea2e581dbcc6038a37b89d55005", - "timeSeconds": 3, - "installedPreviewLocked": true + "sourceImage": "design/dayu-color-plugin-thumbnail-v1.png", + "sourceImageSHA256": "6b63ed2a06c543ee6880f7cf4393bd43d3488a3f7325b806a73d2bee4c80652d", + "generator": "OpenAI built-in image generation", + "installedPreviewLocked": true, + "exports": [ + { + "path": "大鱼调色/Wrapper Application/Resources/DayuColor.icns", + "sha256": "9811ee6b0cefcec94ff6d717fd17f9fcedd6954048d2efea35f6f86764804f80" + }, + { + "path": "template/large.png", + "width": 640, + "height": 360, + "sha256": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a" + }, + { + "path": "template/small.png", + "width": 240, + "height": 135, + "sha256": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a" + } + ] } diff --git a/tools/build_brand_assets.py b/tools/build_brand_assets.py new file mode 100644 index 0000000..dcb5c82 --- /dev/null +++ b/tools/build_brand_assets.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python3 +"""Export generated brand masters with native macOS image tools.""" +from pathlib import Path +import hashlib +import json +import subprocess +import tempfile + +ROOT = Path(__file__).resolve().parent.parent +ICON = ROOT / 'design/dayu-color-app-icon-v1.png' +THUMBNAIL = ROOT / 'design/dayu-color-plugin-thumbnail-v1.png' +ICNS = ROOT / '大鱼调色/Wrapper Application/Resources/DayuColor.icns' + + +def run(*args): + subprocess.run([str(arg) for arg in args], check=True, stdout=subprocess.DEVNULL) + + +def sha(path): + return hashlib.sha256(path.read_bytes()).hexdigest() + + +def main(): + ICNS.parent.mkdir(parents=True, exist_ok=True) + with tempfile.TemporaryDirectory(prefix='dayu-color-icon-') as temporary: + iconset = Path(temporary) / 'DayuColor.iconset' + iconset.mkdir() + for points in (16, 32, 128, 256, 512): + for scale in (1, 2): + pixels = points * scale + name = f'icon_{points}x{points}' + ('@2x' if scale == 2 else '') + '.png' + run('sips', '-z', pixels, pixels, ICON, '--out', iconset / name) + run('iconutil', '-c', 'icns', iconset, '-o', ICNS) + exports = [{'path': str(ICNS.relative_to(ROOT)), 'sha256': sha(ICNS)}] + for name, width, height in [('large.png', 640, 360), ('small.png', 240, 135)]: + output = ROOT / 'template' / name + run('sips', '-z', height, width, THUMBNAIL, '--out', output) + exports.append(dict(path=str(output.relative_to(ROOT)), width=width, height=height, sha256=sha(output))) + record = dict(sourceImage='design/dayu-color-plugin-thumbnail-v1.png', sourceImageSHA256=sha(THUMBNAIL), + generator='OpenAI built-in image generation', installedPreviewLocked=True, exports=exports) + (ROOT / 'template/verification/Preview.json').write_text(json.dumps(record, ensure_ascii=False, indent=2) + '\n') + print(json.dumps(record, ensure_ascii=False, indent=2)) + + +if __name__ == '__main__': + main() diff --git a/大鱼调色.xcodeproj/project.pbxproj b/大鱼调色.xcodeproj/project.pbxproj index cbd9724..28ff806 100644 --- a/大鱼调色.xcodeproj/project.pbxproj +++ b/大鱼调色.xcodeproj/project.pbxproj @@ -121,6 +121,7 @@ Plugin/Resources/InputLUTs/sony_slog3_sgamut3cine_to_rec709.dylut, "Plugin/Resources/THIRD-PARTY-NOTICES.txt", "Wrapper Application/AppDelegate.m", + "Wrapper Application/Resources/DayuColor.icns", "Wrapper Application/Info.plist", "Wrapper Application/main.m", ); diff --git a/大鱼调色/Plugin/Info.plist b/大鱼调色/Plugin/Info.plist index e8bbb28..4ea1e05 100644 --- a/大鱼调色/Plugin/Info.plist +++ b/大鱼调色/Plugin/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleVersion - 6 + 7 NSHumanReadableCopyright PlugInKit diff --git a/大鱼调色/Wrapper Application/Info.plist b/大鱼调色/Wrapper Application/Info.plist index 893ad3f..e70f9ac 100644 --- a/大鱼调色/Wrapper Application/Info.plist +++ b/大鱼调色/Wrapper Application/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIconFile - + DayuColor.icns CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleVersion - 6 + 7 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright diff --git a/大鱼调色/Wrapper Application/Resources/DayuColor.icns b/大鱼调色/Wrapper Application/Resources/DayuColor.icns new file mode 100644 index 0000000..b69ae84 Binary files /dev/null and b/大鱼调色/Wrapper Application/Resources/DayuColor.icns differ