All Projects → mikaoj → Bsimagepicker

mikaoj / Bsimagepicker

Licence: mit
A multiple image picker for iOS

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Bsimagepicker

Insgallery
📸 Instagram-like image picker for Android (一款 UI 炫酷高仿 Instagram 的图片、视频选择器)
Stars: ✭ 409 (-65.07%)
Mutual labels:  photos, image-picker
Photo Blog
The Photo Blog Application based on Laravel 5 and Vue.js 2 + Prerender
Stars: ✭ 55 (-95.3%)
Mutual labels:  photos
Elodie
An EXIF-based photo assistant, organizer, manager and workflow automation tool.
Stars: ✭ 840 (-28.27%)
Mutual labels:  photos
Weex Image Crop Picker
iOS/Android image picker with support for camera, configurable compression, multiple images and cropping porting from
Stars: ✭ 42 (-96.41%)
Mutual labels:  image-picker
React Native Image Picker
🌄 A React Native module that allows you to use native UI to select media from the device library or directly from the camera.
Stars: ✭ 7,431 (+534.59%)
Mutual labels:  image-picker
Papr
🌁 An Unsplash app for iOS
Stars: ✭ 1,025 (-12.47%)
Mutual labels:  photos
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (-23.57%)
Mutual labels:  photos
Tumblr Crawler
Easily download all the photos/videos from tumblr blogs. 下载指定的 Tumblr 博客中的图片,视频
Stars: ✭ 1,118 (-4.53%)
Mutual labels:  photos
Vuejs Carousel
Complete photo carousel build with VueJS and web standards in mind
Stars: ✭ 53 (-95.47%)
Mutual labels:  photos
Bringing Old Photos Back To Life
Bringing Old Photo Back to Life (CVPR 2020 oral)
Stars: ✭ 9,525 (+713.41%)
Mutual labels:  photos
My Photo Timeline
A simple command-line app to organize your local photos by dates (year/month) on your local file system, for those who don't store photos in the cloud
Stars: ✭ 34 (-97.1%)
Mutual labels:  photos
Flickrsync
A command line tool to synchronise, upload, download, pictures between the local file system and Flickr. Image hash signature of the picture is used to uniquely identify the image.
Stars: ✭ 14 (-98.8%)
Mutual labels:  photos
Easyandroid
一系列简单、轻量、方便的Android开发工具集合(持续更新中),包括Android动态权限、SharedPreferences、反射、日志、Toast、Bundle、MVP、线程池、Html、图文混排、蒙层引导、拍照、图库选择等
Stars: ✭ 1,039 (-11.27%)
Mutual labels:  photos
Android Image Picker
Image Picker for Android 🤖
Stars: ✭ 847 (-27.67%)
Mutual labels:  image-picker
Mue
Fast, open and free-to-use new tab page for modern browsers
Stars: ✭ 56 (-95.22%)
Mutual labels:  photos
Media picker
A Flutter Plugin for Selecting and Taking New Photos and Videos.
Stars: ✭ 24 (-97.95%)
Mutual labels:  photos
Photo Affix
📷 Stitch your photos together vertically or horizontally easily!
Stars: ✭ 969 (-17.25%)
Mutual labels:  photos
Gncam
📷 A Swift 3 library for interacting with the camera on iOS using AVFoundation
Stars: ✭ 42 (-96.41%)
Mutual labels:  photos
Dofle
🐱 CLI that opens a random photo of my cat Dofle
Stars: ✭ 68 (-94.19%)
Mutual labels:  photos
Imageselector
图片选择器, 支持多图选择和图片预览
Stars: ✭ 62 (-94.71%)
Mutual labels:  photos

BSImagePicker

CI Status Version License Platform Carthage compatible

alt text

A multiple image picker for iOS.

Features

  • Multiple selection.
  • Fullscreen preview
  • Switching albums.
  • Supports images, live photos and videos.
  • Customizable.

Usage

Info.plist

To be able to request permission to the users photo library you need to add this to your Info.plist

<key>NSPhotoLibraryUsageDescription</key>
<string>Why you want to access photo library</string>
Image picker
import BSImagePicker

let imagePicker = ImagePickerController()

presentImagePicker(imagePicker, select: { (asset) in
    // User selected an asset. Do something with it. Perhaps begin processing/upload?
}, deselect: { (asset) in
    // User deselected an asset. Cancel whatever you did when asset was selected.
}, cancel: { (assets) in
    // User canceled selection. 
}, finish: { (assets) in
    // User finished selection assets.
})
PHAsset

So you have a bunch of PHAssets now, great. But how do you use them? To get an UIImage from the asset you use a PHImageManager.

import Photos

// Request the maximum size. If you only need a smaller size make sure to request that instead.
PHImageManager.default().requestImage(for: asset, targetSize: PHImageManagerMaximumSize, contentMode: .aspectFit, options: nil) { (image, info) in
    // Do something with image
}

For more example you can clone this repo and look at the example app.

Installation

Cocoapods

Add the following line to your Podfile:

pod "BSImagePicker", "~> 3.1"

Carthage

Add the following line to your Cartfile:

github "mikaoj/BSImagePicker" ~> 3.1

Swift Package Manager

Add it to the dependencies value of your Package.swift.:

dependencies: [
.package(url: "https://github.com/mikaoj/BSImagePicker.git", from: "version-tag")
]

Xamarin

If you are Xamarin developer you can use Net.Xamarin.iOS.BSImagePicker

Contribution

Users are encouraged to become active participants in its continued development — by fixing any bugs that they encounter, or by improving the documentation wherever it’s found to be lacking.

If you wish to make a change, open a Pull Request — even if it just contains a draft of the changes you’re planning, or a test that reproduces an issue — and we can discuss it further from there.

License

BSImagePicker is available under the MIT license. See the LICENSE file for more info.

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