Git Product home page Git Product logo

ldimagepicker's Introduction

LDImagePicker

本项目是使用系统的UIImagePickerController和自定制裁剪框VPImageCropperViewController来实现从手机相册取出图片或拍摄图片然后自定义尺寸剪切获取的图片。

使用方法:

LDImagePicker *imagePicker = [LDImagePicker sharedInstance];
imagePicker.delegate = self;
//设置宽高比,宽度固定位屏幕宽度
[imagePicker showImagePickerWithType:buttonIndex InViewController:self Scale:0.75];

- (void)imagePickerDidCancel:(LDImagePicker *)imagePicker{

}
- (void)imagePicker:(LDImagePicker *)imagePicker 	didFinished:(UIImage *)editedImage{
self.imgeView.image = editedImage;
}

支持使用pod管理

pod 'LDImagePicker'

如果喜欢,请帮忙点颗星星✨

ldimagepicker's People

Contributors

lazyduan avatar

Stargazers

lixiaoyang avatar  avatar  avatar deras_Chu avatar  avatar Yang Shuo avatar Ran avatar iRyan avatar TonyYo avatar 通哥 avatar  avatar JK-JimmyKudo avatar  avatar  avatar  avatar  avatar  avatar quyunhao avatar  avatar 张永杰 avatar VillainLin avatar Berton avatar MrDML avatar  avatar  avatar ChanceLi avatar linweisong avatar  avatar  avatar libc avatar  avatar crazyshader avatar  avatar  avatar neo6 avatar wangjungang avatar  avatar MWCao avatar  avatar Hakowaii avatar orcsor avatar iMusic avatar  avatar 把子肉 avatar  avatar  avatar Eric_Yang avatar  avatar  avatar Jins avatar  avatar Great Wallt avatar  avatar

Watchers

James Cloos avatar  avatar

ldimagepicker's Issues

屏幕黑屏

在照片选取完之后会出现卡顿的现象,偶尔还会出现黑屏,我感觉应该是线程堵塞的问题,但是还没有测出来具体的原因,所以想请教一下

图片裁剪问题

裁剪时会有问题的,尤其是裁剪一张GIF图,原因是VPImageCropperViewController中的265行和271行代码写错了,w = newH应该改为w = newW,测试改后问题会解决

问题

选一张长图,会出现滑动问题,画不动的同时,放大缩小后手势就不可控制了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.