TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

Question - can i fix the height and width of the required image to 130 x 600?

Open tiviti opened this issue 9 years ago • 8 comments

Hardware

Expected Behavior

Actual Behavior

Steps to Reproduce

tiviti avatar Feb 26 '16 11:02 tiviti

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. :)

TimOliver avatar Feb 27 '16 03:02 TimOliver

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

tiviti avatar Feb 27 '16 07:02 tiviti

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! :)

TimOliver avatar Apr 20 '16 04:04 TimOliver

I was wondering something along the same lines but it would limit the user to using only the square aspect ratio.

emilypriddy avatar Apr 21 '16 20:04 emilypriddy

👍

pedro380085 avatar Jul 26 '16 13:07 pedro380085

Hi Oliver, is this feature implemented? If yes, can you share the techical detail? Thanks

CWJie91 avatar Jan 31 '18 09:01 CWJie91

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. :)

TimOliver avatar Feb 01 '18 05:02 TimOliver

Dear Tim, Noted with thanks

CWJie91 avatar Feb 06 '18 01:02 CWJie91