Skip to content

v4.0.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@OliverZhaohaibin OliverZhaohaibin released this 05 Feb 23:37
a5f02d7

🚀 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.


🌟 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.
image

🎨 Color Curves Support

Professional-grade color grading with full curve control:

  • 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
  • Non-Destructive Workflow:

    • All curve adjustments saved in .ipo sidecar files
    • Full editability — modify or remove curves at any time
    • Original photos remain completely untouched

🗺️ 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 Curves Implementation

  • 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

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 效率。
image

🎨 调色曲线支持

专业级色彩分级,完全曲线控制:

  • 全面的曲线编辑器:

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

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

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

    • 所有曲线调整保存在 .ipo 附属文件中
    • 完全可编辑 — 随时修改或删除曲线
    • 原始照片保持完全不变

🗺️ 基于聚类的地图浏览

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

  • 智能聚类:

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

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

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

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

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

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

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

🔧 技术亮点

MVVM 架构优势

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

主要优势:

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

调色曲线实现

  • 使用查找表(LUT)进行 GPU 加速的曲线评估
  • 硬件加速渲染的实时预览
  • 贝塞尔曲线插值,实现平滑的色调过渡
  • 支持线性和对数曲线空间

地图聚类算法

  • 基于缩放级别的动态 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 / 调色曲线
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流畅如丝,强大如初。