RepositorySwiftCNChina
LO

longitachi/ZLImageEditor

A powerful image editor framework. Supports graffiti, cropping, mosaic, text stickers, image stickers, filters.

635stars
127forks
7issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: image-sticker

#1 Repository of the week

1
TINIX TRENDING·Topic: text-sticker

#1 Repository of the week

1
TINIX TRENDING·Topic: mosaic

#1 Repository of the week

Version Carthage compatible SwiftPM compatible License Platform Language


ZLImageEditor is a powerful image editor framework. Supports graffiti, cropping, mosaic, text stickers, picture stickers, filters, adjust(brightness, contrast, saturation).

ZLImageEditor is extracted from ZLPhotoBrowser.

Directory

Features

  • Draw (Support custom line color).
  • Crop (Support custom crop ratios).
  • Image sticker (Support custom image sticker container view).
  • Text sticker (Support custom text color).
  • Mosaic.
  • Filter (Support custom filters).
  • Adjust (Brightness, Contrast, Saturation).

Requirements

v >= 2.0.0iOS 10.0+
v < 2.0.0iOS 9.0+
  • Swift 5.x
  • Xcode 12.x

Usage

ZLImageEditorConfiguration.default()
    .editImageTools([.draw, .clip, .imageSticker, .textSticker, .mosaic, .filter, .adjust])
    .adjustTools([.brightness, .contrast, .saturation])

ZLEditImageViewController.showEditImageVC(parentVC: self, image: image, editModel: editModel) { [weak self] (resImage, editModel) in
    // your code
}

Change Log

More logs

● 3.0.0
  Add:
    Improved sticker editing interactions with coordinated gesture handling.
    Added dedicated text sticker content rendering for a clearer editing experience.
    Improved doodle smoothing and eraser hit detection for smoother drawing and more reliable stroke removal.
● 2.0.6
  Fix:
    Fixed the issue where the eraser position was displayed incorrectly when editing pictures.
● 2.0.5
  Add:
    Support SwiftUI.
  Fix:
    Fix retain cycle in ZLEditImageViewController.
    Correct eraser misalignment after image cropping.
...

Languages

🇨🇳 Chinese (Simplified/Traditional), 🇺🇸 English, 🇯🇵 Japanese, 🇫🇷 French, 🇩🇪 German, 🇺🇦 Ukranian, 🇷🇺 Russian, 🇻🇳 Vietnamese, 🇰🇷 Korean, 🇲🇾 Malay, 🇮🇹 Italian, 🇮🇩 Indonesian, 🇪🇸 Spanish, 🇵🇹 Portuguese, 🇹🇷 Turkey, 🇸🇦 Arabic, 🇳🇱 Dutch.

Installation

There are four ways to use ZLImageEditor in your project:

  • using CocoaPods
  • using Carthage
  • using Swift Package Manager
  • manual install (build frameworks or embed Xcode Project)

CocoaPods

To integrate ZLImageEditor into your Xcode project using CocoaPods, specify it to a target in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target 'MyApp' do
  # your other pod
  # ...
  pod 'ZLImageEditor'
end

Then, run the following command:

$ pod install

If you cannot find the latest version, you can execute pod repo update first

Carthage

To integrate ZLImageEditor into your Xcode project using Carthage, specify it in your Cartfile:

github "longitachi/ZLImageEditor"

Then, run the following command to build the ZLImageEditor framework:

$ carthage update ZLImageEditor

Swift Package Manager

  1. Select File > Swift Packages > Add Package Dependency. Enter https://github.com/longitachi/ZLImageEditor.git in the "Choose Package Repository" dialog.
  2. In the next page, specify the version resolving rule as "Up to Next Major" with "3.0.0" as its earliest version.
  3. After Xcode checking out the source and resolving the version, you can choose the "ZLImageEditor" library and add it to your app target.

Support

  • ★ Star this repo.
  • Support with or or

Demo Effect

image

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
congnd/FMPhotoPicker

A modern, simple and zero-dependency photo picker with an elegant and customizable image editor

852
Jun 27, 2023
RepositorySwift
Silence-GitHub/BBMetalImage

A high performance Swift library for GPU-accelerated image/video processing based on Metal.

1.0k
Oct 10, 2022
RepositoryDart
hm21/pro_image_editor

The pro_image_editor is a Flutter widget designed for image editing within your application. It provides a flexible and convenient way to integrate image editing capabilities into your Flutter project.

398
Nov 30, 2026
RepositoryTypeScript
bitbof/klecks

Web-based painting tool powering Kleki.com

396
Nov 12, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryRust
storytold/photocraft

PhotoCraft: An open-source photo editor written from scratch in pure Rust

82.7k
Dec 2, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryTypeScript
deepseek-ai/deepseek-harness

DeepSeek Harness: Everything is a Plugin.

290.1k
Nov 28, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.9k
Aug 12, 2026