All Projects → lincf0912 → Lfimagepickercontroller

lincf0912 / Lfimagepickercontroller

Licence: mit
一个支持多选图片和视频的图片选择器,同时有预览、编辑功能

Projects that are alternatives of or similar to Lfimagepickercontroller

Lfmediaeditingcontroller
Media Editor (图片编辑、视频编辑)
Stars: ✭ 401 (+89.15%)
Mutual labels:  video-editing, photo-editing
backgroundremover
BackgroundRemover lets you Remove Background from images and video with a simple command line interface
Stars: ✭ 1,011 (+376.89%)
Mutual labels:  photo-editing, video-editing
Mp4composer Android
This library generate an Mp4 movie using Android MediaCodec API and apply filter, scale, trim, transcode, crop, timeScale, mute and rotate Mp4.
Stars: ✭ 674 (+217.92%)
Mutual labels:  video-editing
Photojshop
🎨 Photo editing JavaScript library
Stars: ✭ 137 (-35.38%)
Mutual labels:  photo-editing
Nimp
Nimp - Node-based image manipulation program.
Stars: ✭ 45 (-78.77%)
Mutual labels:  photo-editing
Photo Editor
Photo editor with a lot of cool features
Stars: ✭ 753 (+255.19%)
Mutual labels:  photo-editing
Rawkit
ctypes based libraw bindings
Stars: ✭ 60 (-71.7%)
Mutual labels:  photo-editing
Blender Power Sequencer
Add-on for video editing in Blender 3D: edit videos faster! Included in Blender 2.81+
Stars: ✭ 577 (+172.17%)
Mutual labels:  video-editing
Cropiwa
📐 Configurable Custom Crop widget for Android
Stars: ✭ 2,185 (+930.66%)
Mutual labels:  photo-editing
Moviepy
Video editing with Python
Stars: ✭ 8,795 (+4048.58%)
Mutual labels:  video-editing
Vidar
An extendable video-editing framework for the browser and Node
Stars: ✭ 132 (-37.74%)
Mutual labels:  video-editing
Photoeditor
Simple Photo Editing App
Stars: ✭ 20 (-90.57%)
Mutual labels:  photo-editing
Gifcurry
😎 The open-source, Haskell-built video editor for GIF makers.
Stars: ✭ 830 (+291.51%)
Mutual labels:  video-editing
Pixpic
PixPic, a Photo Editing App
Stars: ✭ 1,261 (+494.81%)
Mutual labels:  photo-editing
Gimp Ml
AI for GNU Image Manipulation Program
Stars: ✭ 749 (+253.3%)
Mutual labels:  photo-editing
Openshot Qt
OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
Stars: ✭ 2,482 (+1070.75%)
Mutual labels:  video-editing
Libopenshot
OpenShot Video Library (libopenshot) is a free, open-source project dedicated to delivering high quality video editing, animation, and playback solutions to the world. API currently supports C++, Python, and Ruby.
Stars: ✭ 601 (+183.49%)
Mutual labels:  video-editing
Pyjumpcutterv2
carykh's but with improvements and a GUI!
Stars: ✭ 25 (-88.21%)
Mutual labels:  video-editing
Metalvideoprocess
MetalVideoProcess is a High-Performance video effects processing framework. It's base on GPUImage3 Metal, support asynchronous and multithread processing.
Stars: ✭ 52 (-75.47%)
Mutual labels:  video-editing
Optivideoeditor For Android
Native Video editor : Video trim, Audio, Video merge, Slow and fast motion, Text and image, etc...
Stars: ✭ 209 (-1.42%)
Mutual labels:  video-editing

LFImagePickerController

English

  • 它起始于TZImagePickerController项目,感谢分享。
  • 兼容自定义图片/视频的展示方式
  • 支持Gif(可压缩)、视频(可压缩)、图片(可压缩)
  • 图片编辑、视频编辑(依赖LFMediaEditingController库,默认没有编辑功能)
  • 视频编辑 需要访问音乐库 需要在info.plist 添加 NSAppleMusicUsageDescription
  • 支持iPhone、iPad 横屏
  • 支持国际化配置(复制LFImagePickerController.bundle\LFImagePickerController.strings到项目中,修改对应的值即可;详情见DEMO;注意:不跟随系统语言切换显示)
  • 详细使用见LFImagePickerController.h 的初始化方法

Installation 安装

  • CocoaPods:pod 'LFImagePickerController' 或 pod 'LFImagePickerController/LFMediaEdit' (带编辑功能)

Demo配置编辑功能(不用编辑功能可以忽略)

  • 使用pod install安装LFMediaEditingController库
  • 在LFImagePickerController的project --> Build Settings --> Preprocessor Macros --> 在Debug与Release添加LF_MEDIAEDIT=1

调用代码

  • LFImagePickerController *imagePicker = [[LFImagePickerController alloc] initWithMaxImagesCount:9 delegate:self];
  • //根据需求设置
  • imagePicker.allowTakePicture = NO; //不显示拍照按钮
  • imagePicker.doneBtnTitleStr = @"发送"; //最终确定按钮名称
  • [self presentViewController:imagePicker animated:YES completion:nil];

个性化

  • maxVideosCount ==> 视频最大可选数量,默认和maxImagesCount值一致。如果maxImagesCount != maxImagesCount,会由原来的混合选择转变为单一选择(要么选图片、要么选视频)。
  • defaultAlbumName ==> 可以改变默认显示的相册;例如:defaultAlbumName = @"动图";
  • thumbnailCompressSize ==> 如果不需要返回值LFResultImage的thumbnailImage和thumbnailData,可以thumbnailCompressSize = 0;回调的响应效率更快。
  • autoSavePhotoAlbum ==> 默认将编辑后的图片或视频保存到相册内
  • syncAlbum ==> 与系统相册同步。如果syncAlbum = YES;可能会导致正在编辑的数据丢失(可能你正在编辑的图片被删除了)。
  • selectedAssets ==> 默认已选中的数据。
  • 请预览LFImagePickerController.h了解更多功能。

图片展示

image

适配iOS13的UIModalPresentationPageSheet

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