TOCropViewController
TOCropViewController copied to clipboard
Question - can i fix the height and width of the required image to 130 x 600?
Hardware
Expected Behavior
Actual Behavior
Steps to Reproduce
Answer - Not inside this controller.
Are you asking that the image itself needs to be 130x600 before it's passed to the controller? If so, that might be better off as logic performed inside your app beforehand. :)
Thanks Oliver. We want the output image to fixed at 600x130, hence we want the user to be able to move the 600x130 rectangle over the image to crop it accordinaly
On Sat, Feb 27, 2016 at 5:55 AM, Tim Oliver [email protected] wrote:
Answer - Not inside this controller.
Are you asking that the image itself needs to be 130x600 before it's passed to the controller? If so, that might be better off as logic performed inside your app beforehand. :)
— Reply to this email directly or view it on GitHub https://github.com/TimOliver/TOCropViewController/issues/68#issuecomment-189573235 .
Ilan Kasan
That's definitely not possible in the current version of this library. But it would be pretty easy to add. Feel free to submit a PR! :)
I was wondering something along the same lines but it would limit the user to using only the square aspect ratio.
👍
Hi Oliver, is this feature implemented? If yes, can you share the techical detail? Thanks
There seems to be some mass confusion in here. My name is Tim. Oliver is my surname. 🤣
Nope, this feature isn't implemented yet. I don't have time to add features that aren't involved with my own app's requirements. Sorry!
This one shouldn't be too hard to add if anyone else wants to file a PR. :)
Dear Tim, Noted with thanks