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

Created on 26 Feb 2016  ·  8Comments  ·  Source: TimOliver/TOCropViewController

Hardware

Expected Behavior

Actual Behavior

Steps to Reproduce

feature pr requested

Most helpful comment

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

All 8 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agusguerra10 picture agusguerra10  ·  5Comments

kcankaynak picture kcankaynak  ·  4Comments

felipebonezi picture felipebonezi  ·  6Comments

ojseven picture ojseven  ·  7Comments

erickva picture erickva  ·  4Comments