All Projects → longitachi → Zlphotobrowser

longitachi / Zlphotobrowser

Licence: mit
Wechat-like image picker. Support select normal photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Zlphotobrowser

ZLPhotoBrowser-objc
(ZLPhotoBrowser oc 版本)轻量级照片选择框架,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑裁剪图片/视频,支持多语言国际化等功能
Stars: ✭ 54 (-98.64%)
Mutual labels:  photos, gif, livephoto, imagepicker
Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (-89.68%)
Mutual labels:  photos, picker, gallery, imagepicker
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (-7.6%)
Mutual labels:  picker, gallery, imagepicker
Rxpaparazzo
RxJava extension for Android to take images using camera and gallery and pick files up
Stars: ✭ 467 (-88.21%)
Mutual labels:  photos, picker, gallery
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-99.37%)
Mutual labels:  gallery, picker, imagepicker
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (-40.36%)
Mutual labels:  gif, picker, livephoto
GWLPhotoSelector
相册照片多张选择控件
Stars: ✭ 50 (-98.74%)
Mutual labels:  photos, picker
SSffmpegVideoOperation
This is a library of FFmpeg for android... 📸 🎞 🚑
Stars: ✭ 261 (-93.41%)
Mutual labels:  photos, gif
jekyll-photos
Dead simple solution to add a photo gallery to a Jekyll site.
Stars: ✭ 47 (-98.81%)
Mutual labels:  photos, gallery
photos
"Fx Fotos" is an opensource gallery app in react native with the same smoothness and features of Google Photos and Apple Photos. It is backend gnostic and connects to decentralized backends like "box", "Dfinity", "Filecoin" and "Crust".
Stars: ✭ 620 (-84.35%)
Mutual labels:  photos, gallery
hes-gallery
Light, dependency free, responsive gallery script
Stars: ✭ 27 (-99.32%)
Mutual labels:  photos, gallery
XGImagePickerController
iOS相册图片/视频选择器
Stars: ✭ 32 (-99.19%)
Mutual labels:  picker, imagepicker
ImagePicker
Android image picker
Stars: ✭ 17 (-99.57%)
Mutual labels:  gallery, imagepicker
Selfhosted-Google-Photos-Alternative
A complete guide on exiting Google, Amazon or any proprietary service Photos storage with all the features you would want.
Stars: ✭ 143 (-96.39%)
Mutual labels:  photos, gallery
google-photos-vue
Google Photos album viewer built with Vue.js
Stars: ✭ 17 (-99.57%)
Mutual labels:  photos, gallery
myphotoshare
MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
Stars: ✭ 12 (-99.7%)
Mutual labels:  photos, gallery
Rocket-Notes
The World's Fastest Note Taking App. Fast. Simple. Create a note in one tap! Create image and text notes directly from your home screen!
Stars: ✭ 20 (-99.5%)
Mutual labels:  photos, gallery
Zoomwall.js
A content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode.
Stars: ✭ 254 (-93.59%)
Mutual labels:  photos, gallery
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (-92.81%)
Mutual labels:  photos, picker
SSImagePicker
Easy to use and configurable library to Pick an image from the Gallery or Capture an image using a Camera... 📸
Stars: ✭ 227 (-94.27%)
Mutual labels:  gallery, imagepicker

Version Carthage compatible SwiftPM compatible License Platform Language

image


Warning: If your APP includes China in the App Store sales area, please update to the latest version(>= 4.1.9). issue

English | 简体中文

ZLPhotoBrowser is a Wechat-like image picker. Support select normal photos, videos, gif and livePhoto. Support edit image and crop video.

Directory

Detailed usage of Swift and OC, please refer to Wiki.

If you only want to use the image edit feature, please move to ZLImageEditor.

Features

  • iOS14 supported.
  • Portrait and landscape.
  • Two framework style.
  • Preview selection (Support drag and drop).
  • Library selection (Support sliding selection).
  • Image/Gif/LivePhoto/Video.
  • Customize the maximum number of previews or selection, the maximum and minimum optional duration of the video.
  • Customize the number of columns displayed in each row.
  • Image editor (Draw/Crop/Image sticker/Text sticker/Mosaic/Filter), (Draw color can be customized; Crop ratio can be customized; Filter effect can be customized; You can choose the editing tool you want).
  • Video editor.
  • Custom camera.
  • Multi-language.
  • Selected index.
  • Selected/unselectable state shadow mask.
  • The selected photos are displayed at the bottom of the big picture interface, which can be dragged and sorted.
  • The camera's internal photo cell can displays the captured images of the camera.
  • Customize font.
  • The color of each part of the framework can be customized (Provide dynamic color can support light/dark mode).
  • Customize images.

If you have good needs and suggestions in use, or encounter any bugs, please create an issue and I will reply in time.

Requirements

  • iOS 10.0
  • Swift 5.x
  • Xcode 12.x

Usage

  • Preview selection
let ps = ZLPhotoPreviewSheet()
ps.selectImageBlock = { [weak self] (images, assets, isOriginal) in
    // your code
}
ps.showPreview(animate: true, sender: self)
  • Library selection
let ps = ZLPhotoPreviewSheet()
ps.selectImageBlock = { [weak self] (images, assets, isOriginal) in
    // your code
}
ps.showPhotoLibrary(sender: self)
  • Pay attention, you need to add the following key-value pairs in your app's Info.plist
// If you don’t add this key-value pair, multiple languages are not supported, and the album name defaults to English
Localized resources can be mixed   YES

Privacy - Photo Library Usage Description

Privacy - Camera Usage Description

Privacy - Microphone Usage Description

Update Log

More logs

● 4.2.0
  Add:
    Add chained calls.
    Optmize the custom camera code.
    Add image style of cancel button.
  Fix:
    Selected video duplicates after editing mode.[#655]
    Unable to deselect photos under certain conditions.[#659]
● 4.1.9
  Fix:
    Remove CallKit.
● 4.1.8
  Add:
    Support crop round image.
    Show an alert to prompt that app cannot access the microphone.
    Wrap to display when the text is too long.
    The http header of the network video can be configured.
    Improve the judgment logic of Live Photo.
    Edit the image directly after taking the photo.
  Fix:
    Camera cannot turning on while calling.
...

Languages

🇨🇳 Chinese, 🇺🇸 English, 🇯🇵 Japanese, 🇫🇷 French, 🇩🇪 German, 🇷🇺 Russian, 🇻🇳 Vietnamese, 🇰🇷 Korean, 🇲🇾 Malay, 🇮🇹 Italian, 🇮🇩Indonesian.

Installation

There are four ways to use ZLPhotoBrowser in your project:

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

CocoaPods

To integrate ZLPhotoBrowser 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 'ZLPhotoBrowser'
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 ZLPhotoBrowser into your Xcode project using Carthage, specify it in your Cartfile:

github "longitachi/ZLPhotoBrowser"

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

$ carthage update ZLPhotoBrowser

If you get an error like Building universal frameworks with common architectures is not possible. The device and simulator slices for "ZLPhotoBrowser" both build for: arm64 Rebuild with --use-xcframeworks to create an xcframework bundle instead. Click this link.

Swift Package Manager

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

Support

  • ★ Star this repo.
  • Support with or or

Demo Effect

  • Selection image image image

  • Image editor

image

  • Video editor

image

  • Multi-language

image

  • Custom camera

image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].