Skip to content

Phos v4.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:00
· 8 commits to main since this release

Phos v4.8.0

新增 Guided Upright 透视拉直、全景拼接、LibRaw 与 .dcp 相机配置、软打样(Soft Proofing),重做原生 NSMenu LUT 菜单并全面修复 AI 套用后预览同步与视差尺寸错配问题。

主要更新 / Highlights

  • 重做 LUT 选择器并补全 .cube 解析兼容性:将全局(ClutPicker)及局部蒙版 LUT 菜单全部替换为共享原生 NSMenu 弹窗组件 CLUTPopupButton(支持目录分级子菜单、平铺搜索、导入… 与 无,移除局部蒙版 80 项上限截断);新增 AppState.applyCLUT(_:),当前强度 <= 0.001 时自动重置为 1.0 并退出前后对比/透视辅助视图;CLUT.swift 新增外部 LUT 导入(importLUT(from:))、UTF-8 BOM / 行内 # 注释过滤、DOMAIN_MIN / DOMAIN_MAX 色域归一化与 resolvingSymlinksInPath() 路径归一化。

  • 修复 AI 修图套用后预览不同步与视差尺寸错配:新增 AppState.applyAICandidate(_:statusMessage:) 统一收尾路径(关闭 cropSession / cropMode、清除冲突覆盖层、按裁剪/几何变化重置缩放平移并刷新 previewQueue);NativeAISheet.swift 与 LocalPhotoAI.swift 统一走该收尾路径并自动关闭旧实验窗口弹窗;同步在 NativeAISheet.swift、NativePhotoPlanner.swift 与 Alignment.resolveBokehDepth 对深度/视差图按目标尺寸等比缩放。

  • Guided Upright、全景拼接与软打样引擎:新增 GuidedUprightEngine(参考线透视拉直)、PanoramaEngine(多帧投影对齐与融合拼接)、SoftProofEngine(目标 ICC 软打样与超色域警告),并接入 XMPSidecar 双向读写。

  • LibRaw 解码、Adobe .dcp 配置与 Qwen3-VL-4B 训练链:新增 LibRawEngine、DCPProfileEngine 与 RAWProfilePane(镜头矫正维持用户按需自导入以控制安装包体积);配套提交 Phase 1 Colab LoRA 训练与 MLX 导出脚本。

  • 独立可选精选胶片 LUT 安装包(Phos-Optional-LUT-Installer.zip):不随主程序分发受版权限制的 LUT,运行时通过 HTTP 分片从原作者公开地址拉取 34 款去重且已适配 sRGB / Rec.709 的胶片模拟(含现场 sRGB -> Linear -> Cineon Log 烘焙版 Kodak 2383 D65 / Fuji 3513DI D65)。

English Summary

  • Rebuilt LUT pickers & .cube parser: replaced SwiftUI Menu in Inspector.swift and MaskAdvancedControls.swift with shared native NSMenu popup CLUTPopupButton (folder hierarchy submenus, flat search, Import… and None, removing the 80-item cap); AppState.applyCLUT(_:) restores strength <= 0.001 to 1.0 and exits comparison/upright modes; CLUT.swift adds importLUT(from:), UTF-8 BOM, inline # comments, DOMAIN_MIN/DOMAIN_MAX normalization, and symlink resolution.

  • Fixed post-AI preview sync & disparity extent mismatch: AppState.applyAICandidate(_:statusMessage:) cleanly tears down cropSession/cropMode, clears overlays, resets zoom/pan on geometry changes, and invalidates previewQueue across both Native AI and MLX sheets; added target-extent disparity scaling in NativeAISheet, NativePhotoPlanner, and Alignment.resolveBokehDepth.

  • Guided Upright, Panorama Stitching & Soft Proofing: added two-line perspective upright (GuidedUprightEngine), multi-frame panorama stitching (PanoramaEngine), ICC target soft proofing / gamut warnings (SoftProofEngine), and bidirectional XMP serialization.

  • LibRaw, DCP profiles & Qwen3-VL-4B Colab scripts: added optional LibRaw integration and binary .dcp camera profiles (keeping user-imported lens profiles), plus Phase 1 Colab LoRA training scripts.

  • Standalone curated film LUT installer (Phos-Optional-LUT-Installer.zip): 13.8 KB script-only package fetching 34 de-duplicated, sRGB-ready film looks from upstream authors via HTTP range requests (including locally baked sRGB-adapted Kodak 2383 D65 / Fuji 3513DI D65).

SHA-256 Checksums

870f12b4f4c6ebab996f487239a2ab515665f9e6751cdbae90a18b6b5a38e49e  Phos-macOS-apple-silicon.dmg
04a76a4cfc045fe359411c9cefce108609f1268394fc506dc3bcc75f2bec6417  Phos-macOS-apple-silicon.zip
48bf4ef754f42b5d8037e9f791563ab7ea2b3ceeae38c5a91031efb2fac88fda  Phos-Optional-Model-Installer.zip
8ebdcc3907001ceea3e532b097bbc0a9f990706f8d6600abeca9021f601beb71  Phos-Optional-LUT-Installer.zip