Skip to content

HiPixel is a native macOS application for AI-powered image super-resolution, built with SwiftUI and leveraging Upscayl's powerful AI models.

License

Notifications You must be signed in to change notification settings

okooo5km/HiPixel

Repository files navigation

HiPixel

HiPixel Logo

HiPixel

License: AGPL v3 Swift 5.9 Platform: macOS

English | 中文


AI-Powered Image Super-Resolution for macOS

HiPixel is a native macOS application for AI-powered image super-resolution, built with SwiftUI and leveraging Upscayl's powerful AI models.

HiPixel Screenshot

✨ Features

  • 🖥️ Native macOS application with SwiftUI interface
  • 🎨 High-quality image upscaling using AI models
  • 🚀 Fast processing with GPU acceleration
  • 🖼️ Supports various image formats
  • 💻 Modern, intuitive user interface

💡 Why HiPixel?

While Upscayl already offers an excellent macOS application, HiPixel was developed with specific goals in mind:

  1. Native macOS Experience

    • Built as a native SwiftUI application while utilizing Upscayl's powerful binary tools and AI models
    • Provides a seamless, platform-native experience that feels right at home on macOS
  2. Enhanced Workflow Efficiency

    • Streamlined interaction with drag-and-drop processing - images are processed automatically upon dropping
    • Batch processing support for handling multiple images simultaneously
    • URL Scheme support for third-party integration, enabling automation and workflow extensions
    • Simplified interface focusing on the most commonly used features, making the upscaling process more straightforward

HiPixel aims to complement Upscayl by offering an alternative approach focused on workflow efficiency and native macOS integration, while building upon Upscayl's excellent AI upscaling foundation.

🔗 URL Scheme Support

HiPixel supports URL Scheme for processing images via external applications or scripts. The URL format is:

hipixel://?path=/path/to/image1&path=/path/to/image2

Example usage in Terminal:

# Process a single image
open "hipixel://?path=/Users/username/Pictures/image.jpg"

# Process multiple images
open "hipixel://?path=/Users/username/Pictures/image1.jpg&path=/Users/username/Pictures/image2.jpg"

Example usage in AppleScript:

tell application "Finder"
    set selectedFiles to selection as alias list
    set urlString to "hipixel://"
    repeat with theFile in selectedFiles
        set urlString to urlString & "?path=" & POSIX path of theFile
    end repeat
    open location urlString
end tell

🚀 Installation

  1. Download the latest release from GitHub
  2. Move HiPixel.app to your Applications folder
  3. Launch HiPixel

🛠️ Building from Source

  1. Clone the repository
git clone https://github.com/okooo5km/hipixel
cd hipixel
  1. Open HiPixel.xcodeproj in Xcode
  2. Build and run the project

📝 License

HiPixel is licensed under the GNU Affero General Public License v3.0 (AGPLv3). This means:

  • ✅ You can use, modify, and distribute this software
  • ✅ If you modify the software, you must:
    • Make your modifications available under the same license
    • Provide access to the complete source code
    • Preserve all copyright notices and attributions

This software uses Upscayl's binaries and AI models, which are also licensed under AGPLv3.

☕️ Support the Project

If you find HiPixel helpful, please consider supporting its development:

  • ⭐️ Star the project on GitHub
  • 🐛 Report bugs or suggest features
  • 💝 Support via:

More ways to support

Your support helps maintain and improve HiPixel!

🙏 Attribution

HiPixel uses the following components from Upscayl:

  • upscayl-bin - The binary tool for AI upscaling (AGPLv3)
  • AI Models - The AI models for image super-resolution (AGPLv3)

Special thanks to zaotang.xyz for designing the new application icon and main window interaction interface for HiPixel v0.2.

HiPixel also uses:

  • Sparkle - A software update framework for macOS applications (MIT License)
  • NotchNotification - A custom notch-style notification banner for macOS (MIT License)
  • GeneralNotification - A custom notification banner for macOS (MIT License)

macOS 原生的 AI 图像超分辨率工具

HiPixel 是一款原生 macOS 应用程序,用于 AI 图像超分辨率处理,使用 SwiftUI 构建,并采用 Upscayl 的强大 AI 模型。

HiPixel 截图

✨ 功能特点

  • 🖥️ 原生 macOS 应用程序,使用 SwiftUI 界面
  • 🎨 使用 AI 模型进行高质量图像放大
  • 🚀 GPU 加速,处理速度快
  • 🖼️ 支持多种图像格式
  • 💻 现代化直观的用户界面

💡 为什么选择 HiPixel?

虽然 Upscayl 已经提供了一个优秀的 macOS 应用程序,但是 HiPixel 是为了特定的目标而开发的:

  1. 原生 macOS 体验

    • 以原生 SwiftUI 应用程序的形式构建,同时利用 Upscayl 的强大二进制工具和 AI 模型
    • 提供一种无缝的、平台原生的体验,感觉就像在 macOS 上一样
  2. 提高工作流效率

    • 简化交互,支持拖放处理 - 图像在放下时会自动处理
    • 支持批量处理,能够同时处理多张图像
    • 支持 URL Scheme,能够与第三方应用程序集成,实现自动化和工作流扩展
    • 简化界面,专注于最常用的功能,使得图像放大过程更加直接

HiPixel 旨在通过提供一种专注于工作流效率和原生 macOS 集成的替代方法来补充 Upscayl,同时建立在 Upscayl 优秀的 AI 图像放大基础之上。

🔗 URL Scheme 使用说明

HiPixel 支持 URL Scheme,用于通过外部应用程序或脚本处理图像。URL 格式如下:

hipixel://?path=/path/to/image1&path=/path/to/image2

在终端中的示例用法:

# 处理单张图像
open "hipixel://?path=/Users/username/Pictures/image.jpg"

# 处理多张图像
open "hipixel://?path=/Users/username/Pictures/image1.jpg&path=/Users/username/Pictures/image2.jpg"

在 AppleScript 中的示例用法:

tell application "Finder"
    set selectedFiles to selection as alias list
    set urlString to "hipixel://"
    repeat with theFile in selectedFiles
        set urlString to urlString & "?path=" & POSIX path of theFile
    end repeat
    open location urlString
end tell

🚀 安装方法

  1. 从 GitHub 下载最新版本
  2. 将 HiPixel.app 移动到应用程序文件夹
  3. 启动 HiPixel

🛠️ 从源代码构建

  1. 克隆仓库
git clone https://github.com/okooo5km/hipixel
cd hipixel
  1. 在 Xcode 中打开 HiPixel.xcodeproj
  2. 构建并运行项目

📝 许可证

HiPixel 采用 GNU Affero 通用公共许可证第3版 (AGPLv3) 授权。这意味着:

  • ✅ 您可以使用、修改和分发此软件
  • ✅ 如果您修改了软件,您必须:
    • 在相同的许可证下提供您的修改
    • 提供完整源代码的访问
    • 保留所有版权声明和归属

本软件使用 Upscayl 的二进制文件和 AI 模型,这些也都采用 AGPLv3 许可。

☕️ 支持项目

如果您觉得 HiPixel 对您有帮助,可以通过以下方式支持项目的开发:

  • ⭐️ 在 GitHub 上给项目点星
  • 🐛 报告问题或提出建议
  • 💝 赞助支持:

更多支持方式

您的支持将帮助我们持续改进 HiPixel!

🙏 致谢

HiPixel 使用了以下来自 Upscayl 的组件:

  • upscayl-bin - AI 超分辨率处理工具
  • AI Models - 图像超分辨率模型

特别感谢 zaotang.xyz 为 HiPixel v0.2 版本设计了全新的应用图标和主窗口交互界面。

HiPixel 还使用了:

  • Sparkle - macOS 应用程序的软件更新框架 (MIT 许可证)
  • NotchNotification - 适用于 macOS 的刘海屏样式通知横幅 (MIT 许可证)
  • GeneralNotification - 适用于 macOS 的自定义通知横幅 (MIT 许可证)

About

HiPixel is a native macOS application for AI-powered image super-resolution, built with SwiftUI and leveraging Upscayl's powerful AI models.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages