windshg / vpimagecropper Goto Github PK
View Code? Open in Web Editor NEWImage cropper like the one in WeChat
License: Apache License 2.0
Image cropper like the one in WeChat
License: Apache License 2.0
hi, is there a way to limit the pinch gesture for a predefined image size?
for example: I want to crop a big image, but I want to make sure the edited image is bigger than a predefined CGSize, and I don't want the user to be able to zoom more than that size on the original image.
VPImageCropperViewController.m line 79
-[VPImageCropperViewController initView]
I'm getting a crash on this line -
self.showImgView.frame = self.oldFrame;
I'm gettting NaN for one of the frame values.
Can you please note if this works with:
Xcode 5.1 finds a potential leak on https://github.com/windshg/VPImageCropper/blob/master/VPImageCropperDemo/VPImageCropper/VPImageCropperViewController.m#L282
it would be helpfull to add the project to cocoa pods. thanks
I would like to crop images for 640 X 300. How can o change the cropFrame?
I call the init method with this way but the ratioView doesnt change.
[[VPImageCropperViewController alloc] initWithImage:portraitImg cropFrame:CGRectMake(0, 100.0f, self.view.frame.size.width, 300) limitScaleRatio:3.0];
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.