extended_image icon indicating copy to clipboard operation
extended_image copied to clipboard

[Feature request] Ability to rotate an image on custom angle using fingers

Open stepanov-standy opened this issue 5 years ago • 5 comments
trafficstars

It is awesome and powerful library, but looks like it doesn't have so important and I hope simple in implementation feature to be able to rotate image on custom angle using fingers. There are lots of use cases when user wants to crop image and slightly rotate it.

Is it possible to add such functionality in future releases?

stepanov-standy avatar Jun 17 '20 07:06 stepanov-standy

It' hard to implement. The algorithm is not only for how to crop but UI, i have no idea for now.

zmtzawqlp avatar Jun 17 '20 07:06 zmtzawqlp

Thank you for the quick response. I will try to search for possible solutions and provide my insights on this. Do you mean it is hard to implement crop of rotated image on each platform? Or it is hard to reflect rotation in flutter UI?

stepanov-standy avatar Jun 17 '20 07:06 stepanov-standy

I mean flutter UI,I didn't come up with a good idea to calculate boundary after rotate ,and how to convert ui to the arguments for native api.

zmtzawqlp avatar Jun 17 '20 07:06 zmtzawqlp

Thank you for the quick response. I will try to search for possible solutions and provide my insights on this. Do you mean it is hard to implement crop of rotated image on each platform? Or it is hard to reflect rotation in flutter UI?

Did you find a solution to this?

tomankh avatar Apr 23 '21 03:04 tomankh

https://github.com/xclud/flutter_crop This lib can help you. It calculate boundary after rotate

punzar avatar Sep 14 '22 12:09 punzar

I have switched to this library that can do all required things - https://pub.dev/packages/photo_view

stepanov-standy avatar Oct 15 '23 21:10 stepanov-standy