- 🌱 I’m currently learning something about OC and Swift. And record it here.
- 💬 Ask me about anything here
lincf0912 / lfimagepickercontroller Goto Github PK
View Code? Open in Web Editor NEW一个支持多选图片和视频的图片选择器,同时有预览、编辑功能
License: MIT License
一个支持多选图片和视频的图片选择器,同时有预览、编辑功能
License: MIT License
gif越来越火了 🤓
右上角选择按钮不显示
视频压缩后不行,脸都看不清!
视频编辑功能还没有开发完成?
@lincf0912 你好大神,如果是当前控制器用Nav管理的时候,执行self presentViewController:imagePicker的时候,展示区域会向下偏移导航条的高度。看了一下原因,tableView在创建的时候,偏移了导航条高度。
Can I hire you to modify this code for a personal project? If yes, then let me know your email so I can send you what I want to do.
I import this library to my iPad project and edit there will be crash
功能都很赞!如果能有左右90度旋转就更好了!
我想加载图像选择器与预选的相册名称。
手动导入:将LFImagePickerController\class文件夹拽入项目中,导入头文件:#import "LFImagePickerController.h"
找不到一些editController的模型类
选择图片,进入预览,点击编辑功能,此时内存突然暴涨。编辑完成后又爆降。如果调用相机后,拍摄完图片,再调用预览编辑,内存暴涨导致程序闪退。
如题
没有保存已经选过的图片,在一个相册选完图片出去之后再回来,之前选的图片都变成未选中状态。
建议可以返回记录当前滑动图片在数组中的索引
我需要用到一个像UIImagePickerController的didFinishPickerMediaWithInfo:(NSDictionary *)info
这个info的UIImagePIckerControllerMediaURL这个东西,因为很多视频编辑,还有一些其它的业务都需要这个东西。你可以在LFResultObject的.h里暴露这个属性吗?
你好,我用pod导入的,pod搜索出来的只有LFImagePicker,下载下来后,没有LFImagePickerController文件,使用LFImagePickerViewController运行出来也和demo不一样,而且选取照片后完成度始终完成不了100%,一直等待状态,也进行不了其他操作,望指点,谢谢
iOS 10.3
导航栏为白色,设置naviBgColor未生效。
预览大图返回按钮响应范围过小,有时候要点好多次才能点击到
当我设置图片为1张时,选了一张之后,还可以选中第二张第三张,(选中标志可以继续操作)即使有提示我只能选中1张
奔溃点 :
[self.collectionView performBatchUpdates:^{
[self.collectionView reloadItemsAtIndexPaths:indexPaths];
} completion:^(BOOL finished) {
[self.collectionView scrollToItemAtIndexPath:indexPaths.lastObject atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:YES];
}];
How can we select multiple videos with the checkbox icon like we can with photos and gifs?
请问pods安装的版本拍照提示保存失败是什么原因
iphone6s ios11 选择相册里的视频,点编辑后内存疯涨,最后闪退
选择照片以后,再次选择照片会卡死。
或者你可以告诉我改哪些代码可以不使用视频压缩吗?我不需要压缩,我尝试着改了,没改好。
视频压缩模糊,这个很伤啊,直接导致视屏需求的人不能用了!
doneBtnTitleStr文字不同界面文字不一样怎么修改
不过不能完全使用他的逻辑,详见:banchichen/TZImagePickerController#460
lf_imagePickerController:(LFImagePickerController *)picker didFinishPickingThumbnailImages:(NSArray<UIImage *> *)thumbnailImages originalImages:(NSArray<UIImage *> *)originalImages;
此回调中的thumbnailImages好像没有压缩到10k左右,在不勾选原图的情况下,和originalImages中的标清图分辨率和大小基本一样。
是需要特别设置吗
感觉比QBImagePicker,TZImagePicker好使。推荐!
请保留这个isuue!
1.4.1版本之后,图片选择器的初始加载时间慢了很多,所以我现在一直在用1.4.1版本,还有就是有的图片上传成功后链接地址打不开。
1.4.6版本性能改善明显,之前还有个问题忘了提,就是图片编辑后,不管是否勾选原图,发送出去的图片清晰度都很低,跟微信差距很明显,后来我自己写的选择器,并且修改了LFMediaEditingController,新增了获取透明底色的纯编辑图片,在完成的时候,如果有纯编辑图片,就将纯编辑图片绘制到原图上,这样就不损失原图的清晰度了,只不过对于尺寸比较大的图片,在绘制过程会占用比较大的内存,目前我就想到这一种方法来保证编辑后原图不失真。不知道作者在1.4.6版本中有没有优化这方面,如果没有优化,我就得继续用自己写的选择器了。
选完照片后处理时间有点长,选了9张手机拍的照片,“正在处理... ” 花费的时间大概有二十几秒了,请问大神这种情况怎么进行优化。
老的版本使用 MaxImagesCount 为1 可以直接选择单张照片,现版本去掉了这个功能?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.