Skip to content

v4.0.0-beta

Pre-release
Pre-release

Choose a tag to compare

@OliverZhaohaibin OliverZhaohaibin released this 08 Feb 00:34

🚀 iPhoto v4.00 — MVVM Architecture & Advanced Editing

📸 MVVM architecture for smooth performance, color curves support, and cluster-based map browsing.

We're excited to announce iPhoto v4.00! 🎉
This major update brings a complete architectural transformation with MVVM design pattern, significantly reducing lag and improving system responsiveness. We've also added powerful color curve adjustments and cluster-based map navigation for a better photo management experience.
image


🌟 Key Updates in v4.00

🏗️ MVVM Architecture — Dramatically Improved Performance

Addressing user feedback: "Reduced lag and improved responsiveness"

  • Complete Architectural Refactoring: We have transformed the codebase to follow the Model-View-ViewModel (MVVM) design pattern.
  • Separation of Concerns: Clear separation between UI presentation, business logic, and data management layers.
  • Reactive UI Updates: The ViewModel efficiently manages state changes and automatically updates the View, eliminating unnecessary re-renders.
  • Reduced Operation Lag: Significantly lower UI freezing and lag during photo browsing, editing, and library management operations.
  • Enhanced System Fluency: Smooth scrolling, instant thumbnail loading, and responsive interactions even with large photo libraries.
  • Better Resource Management: Improved memory usage and CPU efficiency through proper data binding and lifecycle management.

🎨 Advanced Color Grading Tools

Professional-grade color editing with multiple precision tools:

Color Curves Support

Full curve control for tonal adjustments:

  • Comprehensive Curve Editor:

    • RGB Master curve for overall tonal adjustments
    • Individual Red, Green, and Blue channel curves for precise color grading
    • Interactive curve editor with draggable control points
    • Real-time preview of adjustments
  • Professional Color Grading:

    • Cinematic color looks and film emulation
    • Selective color adjustments without affecting other tones
    • Shadow, midtone, and highlight control with infinite precision
    • Support for both subtle corrections and creative color grading
  • Advanced Curve Controls:

    • Add and remove control points anywhere on the curve
    • Smooth Bezier interpolation for natural transitions
    • Histogram overlay for precise tone mapping
    • Reset and preset curve profiles for quick adjustments
image
Selective Color

Target-specific color ranges with precision control:

  • Six Color Range Targets:

    • Independent controls for Red, Yellow, Green, Cyan, Blue, and Magenta hues
    • Adjustable hue range width for each color target
    • Saturation gating to avoid affecting neutral tones
  • Three-Dimensional Control:

    • Hue Shift: Rotate the hue within each color range
    • Saturation: Increase or decrease saturation for targeted colors
    • Luminance: Brighten or darken specific color ranges
  • Advanced Color Isolation:

    • Feathered hue-distance masking for smooth transitions
    • Independent adjustment of each color range without affecting others
    • Real-time preview with GPU-accelerated HSL conversion
image
Levels

Professional tonal control with histogram-based input-output mapping:

  • 5-Handle Curve System:

    • Five draggable control points at 0%, 25%, 50%, 75%, and 100%
    • Interactive handles for precise input-to-output tone mapping
    • Visual histogram backdrop for guided adjustments
  • Channel-Based Control:

    • RGB Master channel for overall tonal balance
    • Individual Red, Green, and Blue channel adjustments
    • Real-time preview of tonal corrections
  • Professional Tone Mapping:

    • Expand or compress tonal ranges
    • Shadow and highlight detail recovery
    • Contrast enhancement with preserved midtones
    • Smooth interpolation between control points
image
Non-Destructive Workflow

All editing tools share the same robust workflow:

  • All adjustments (Curves, Selective Color, Levels) saved in .ipo sidecar files
  • Full editability — modify or remove any adjustment at any time
  • Original photos remain completely untouched
  • GPU-accelerated preview rendering for real-time feedback

🗺️ Cluster-Based Map Browsing

Enhanced map view with intelligent photo clustering:

  • Smart Clustering:

    • Automatically groups nearby photos into clusters based on GPS coordinates
    • Dynamic cluster sizing adapts to zoom level and photo density
    • Visual cluster indicators show the number of photos in each location
  • Improved Navigation:

    • Zoom and pan to explore photo locations efficiently
    • Click on clusters to expand and view individual photos
    • Smooth transitions when navigating between clusters
  • Better Performance:

    • Efficient rendering of thousands of GPS-tagged photos
    • Fast map interactions even with massive photo libraries
    • Reduced memory usage through intelligent cluster management
  • Enhanced User Experience:

    • Clear visualization of photo distribution across locations
    • Easier discovery of photos taken in specific geographic areas
    • Intuitive interaction with grouped photos on the map

🎯 Core Features (Carried Forward)

All beloved features from previous versions remain fully supported:

  • 🎥 Full Live Photo Support
    Automatically pairs HEIC/JPG + MOV files by content-ID or timestamp, with a "LIVE" badge and inline playback.

  • 🗂 Folder = Album
    Each folder becomes an album, managed by .iphoto.album.json (or .iphoto.album).

  • 🧠 Smart Albums
    Built-in "Library", "All Photos", "Videos", "Favorites", and "Recently Deleted" views.

  • 🖼 Immersive Detail Viewer
    Elegant photo/video viewer with filmstrip navigation and floating playback controls.

  • 🎨 Non-Destructive Photo Editing
    Comprehensive editing suite with Adjust and Crop modes (v2.00 features).

  • ⚡ SQLite Global Database
    Enterprise-grade performance for TB-level photo libraries (v3.00 architecture).


🔧 Technical Highlights

MVVM Architecture Benefits

View Layer (UI Components)
    ↓ (Data Binding)
ViewModel Layer (State Management & Business Logic)
    ↓ (Data Access)
Model Layer (SQLite Database & File System)

Key Advantages:

  • Reactive Updates: UI automatically reflects data changes without manual refresh
  • Testability: Business logic separated from UI for easier unit testing
  • Maintainability: Clear separation of concerns makes code easier to maintain and extend
  • Performance: Efficient state management reduces unnecessary computations and re-renders

Color Grading Implementation

  • Color Curves: GPU-accelerated curve evaluation using lookup tables (LUTs), real-time preview with hardware-accelerated rendering, Bezier curve interpolation for smooth tonal transitions, support for linear and logarithmic curve spaces
  • Selective Color: CPU/GPU hybrid HSL-based processing targeting six hue ranges (Red/Yellow/Green/Cyan/Blue/Magenta), feathered hue-distance masking with saturation gating, independent Hue/Saturation/Luminance controls per range
  • Levels: Interactive 5-handle input-output mapping with histogram backdrop, per-channel control (RGB/R/G/B), smooth interpolation for natural tonal transitions

Map Clustering Algorithm

  • K-means clustering with dynamic K based on zoom level
  • Geo-spatial indexing for fast cluster computation
  • Progressive loading for large datasets
  • Adaptive cluster boundaries based on viewport

🇨🇳 iPhoto v4.00 — MVVM 架构与高级编辑

📸 MVVM 架构带来流畅性能,支持调色曲线,地图按聚类浏览。

我们非常激动地宣布 iPhoto v4.00 正式发布!🎉
这个重大更新带来了完整的 MVVM 设计模式架构转型,大幅降低操作卡顿感,提高系统流畅度。我们还增加了强大的 调色曲线调整 功能和 基于聚类的地图导航,带来更好的照片管理体验。


🌟 v4.00 主要更新

🏗️ MVVM 架构 — 性能大幅提升

回应用户反馈:降低卡顿,提升响应速度

  • 完整的架构重构: 我们将代码库转换为遵循 Model-View-ViewModel (MVVM) 设计模式。
  • 关注点分离: UI 呈现层、业务逻辑层和数据管理层之间的清晰分离。
  • 响应式 UI 更新: ViewModel 高效管理状态变化并自动更新视图,消除不必要的重新渲染。
  • 降低操作延迟: 在照片浏览、编辑和图库管理操作期间,显著减少 UI 冻结和卡顿。
  • 增强系统流畅度: 即使在大型照片库中,也能实现流畅滚动、即时缩略图加载和响应式交互。
  • 更好的资源管理: 通过适当的数据绑定和生命周期管理,改善内存使用和 CPU 效率。

🎨 高级色彩分级工具

专业级色彩编辑,提供多种精密工具:

调色曲线支持

完全曲线控制的色调调整:

  • 全面的曲线编辑器:

    • RGB 主曲线用于整体色调调整
    • 独立的红色、绿色和蓝色通道曲线,用于精确的色彩分级
    • 带有可拖动控制点的交互式曲线编辑器
    • 实时预览调整效果
  • 专业色彩分级:

    • 电影级色彩外观和胶片模拟
    • 选择性色彩调整,不影响其他色调
    • 对阴影、中间调和高光进行无限精度控制
    • 支持微妙校正和创意色彩分级
  • 高级曲线控制:

    • 在曲线上的任何位置添加和删除控制点
    • 平滑的贝塞尔插值,实现自然过渡
    • 直方图叠加,实现精确的色调映射
    • 重置和预设曲线配置文件,快速调整
可选颜色

精确控制特定色彩范围:

  • 六种色彩范围目标:

    • 对红色、黄色、绿色、青色、蓝色和品红色调的独立控制
    • 每个颜色目标的可调整色调范围宽度
    • 饱和度门控以避免影响中性色调
  • 三维控制:

    • 色调偏移: 在每个颜色范围内旋转色调
    • 饱和度: 增加或降低目标颜色的饱和度
    • 亮度: 使特定颜色范围变亮或变暗
  • 高级色彩隔离:

    • 羽化的色调距离遮罩,实现平滑过渡
    • 每个颜色范围独立调整,不影响其他范围
    • GPU 加速的 HSL 转换实时预览
色阶

专业的色调控制,基于直方图的输入-输出映射:

  • 5 个控制点曲线系统:

    • 五个可拖动控制点位于 0%、25%、50%、75% 和 100%
    • 交互式控制点,用于精确的输入到输出色调映射
    • 视觉直方图背景,用于引导调整
  • 基于通道的控制:

    • RGB 主通道用于整体色调平衡
    • 独立的红色、绿色和蓝色通道调整
    • 色调校正的实时预览
  • 专业色调映射:

    • 扩展或压缩色调范围
    • 阴影和高光细节恢复
    • 对比度增强,同时保留中间调
    • 控制点之间的平滑插值
非破坏性工作流程

所有编辑工具共享相同的强大工作流程:

  • 所有调整(曲线、可选颜色、色阶)保存在 .ipo 附属文件中
  • 完全可编辑 — 随时修改或删除任何调整
  • 原始照片保持完全不变
  • GPU 加速的预览渲染,实现实时反馈

🗺️ 基于聚类的地图浏览

增强的地图视图,智能照片聚类:

  • 智能聚类:

    • 根据 GPS 坐标自动将附近的照片分组为聚类
    • 动态聚类大小根据缩放级别和照片密度自适应
    • 可视化聚类指示器显示每个位置的照片数量
  • 改进的导航:

    • 缩放和平移以高效探索照片位置
    • 点击聚类以展开并查看单个照片
    • 在聚类之间导航时平滑过渡
  • 更好的性能:

    • 高效渲染数千张带有 GPS 标记的照片
    • 即使在超大照片库中也能实现快速地图交互
    • 通过智能聚类管理减少内存使用
  • 增强的用户体验:

    • 清晰可视化照片在各位置的分布
    • 更容易发现在特定地理区域拍摄的照片
    • 与地图上分组的照片直观交互

🎯 核心功能(继承自之前版本)

之前版本中的所有核心功能均得到完整保留:

  • 🎥 完整的 Live Photo 支持:自动配对 HEIC/JPG 与 MOV 文件,静态照片带 "LIVE" 徽章,可直接播放动态视频。
  • 🗂 文件夹即相册:每个文件夹均视为相册,通过 .iphoto.album.json 管理封面、精选与排序。
  • 🧠 智能相册:内置 "图库"、"所有照片"、"视频"、"收藏"、"最近删除" 等自动聚合视图。
  • 🖼 沉浸式查看器:带胶片条与浮动播放控件的照片/视频查看体验。
  • 🎨 非破坏性照片编辑:包含调整和裁剪模式的全面编辑套件(v2.00 功能)。
  • ⚡ SQLite 全局数据库:为 TB 级别照片库提供企业级性能(v3.00 架构)。

🔧 技术亮点

MVVM 架构优势

视图层(UI 组件)
    ↓(数据绑定)
视图模型层(状态管理与业务逻辑)
    ↓(数据访问)
模型层(SQLite 数据库与文件系统)

主要优势:

  • 响应式更新: UI 自动反映数据变化,无需手动刷新
  • 可测试性: 业务逻辑与 UI 分离,更易于单元测试
  • 可维护性: 关注点的清晰分离使代码更易于维护和扩展
  • 性能: 高效的状态管理减少不必要的计算和重新渲染

色彩分级实现

  • 调色曲线: 使用查找表(LUT)进行 GPU 加速的曲线评估,硬件加速渲染的实时预览,贝塞尔曲线插值实现平滑的色调过渡,支持线性和对数曲线空间
  • 可选颜色: CPU/GPU 混合 HSL 处理,针对六个色调范围(红/黄/绿/青/蓝/品红),带有饱和度门控的羽化色调距离遮罩,每个范围独立的色调/饱和度/亮度控制
  • 色阶: 带有直方图背景的交互式 5 个控制点输入-输出映射,每通道控制(RGB/R/G/B),平滑插值实现自然色调过渡

地图聚类算法

  • 基于缩放级别的动态 K 值的 K-means 聚类
  • 用于快速聚类计算的地理空间索引
  • 大型数据集的渐进式加载
  • 基于视口的自适应聚类边界

📊 Version Comparison / 版本对比

Feature / 功能 v3.00 v4.00
SQLite global database / SQLite 全局数据库
Non-destructive editing / 非破坏性编辑
Map view / 地图视图
Live Photo support / Live Photo 支持
MVVM Architecture / MVVM 架构
Color Curves / 调色曲线
Selective Color / 可选颜色
Levels / 色阶
Map Clustering / 地图聚类
Enhanced Performance / 增强性能 ✅✅
Reduced Lag / 降低卡顿 ✅✅

💬 Feedback / 反馈与建议

We'd love to hear from you!
If you encounter any issues or have ideas for improvement, please open a ticket on GitHub Issues.
Your feedback helps shape the future of iPhoto. 💙
Thank you for your support!

我们非常期待您的反馈!
如果您在使用中发现问题,或有新的功能建议,欢迎前往 GitHub Issues 提交。
每一条意见都将帮助我们让 iPhoto 变得更好。💙
感谢您的支持!


iPhoto v4.00Smooth as silk. Powerful as ever.
iPhoto v4.00流畅如丝,强大如初。