hoverzoom icon indicating copy to clipboard operation
hoverzoom copied to clipboard

rotate image

Open Mattwmaster58 opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe., Describe the solution you'd like, Sometimes I'd like to rotate an image.

Describe alternatives you've considered Turning my head to the side

Additional context I am planning to implement this and want feedback on if a PR would be accepted, any suggestions with the implementation, etc

Mattwmaster58 avatar Oct 29 '23 05:10 Mattwmaster58

@Mattwmaster58 i suggest you have a look at #774 : implementation of image & video flip.

GrosPoulet avatar Oct 30 '23 09:10 GrosPoulet

Hmm, looking for anyones opinion here as I'm not experienced with the codebase, what do you think the best way to implement the chaining of transforms? Previously it was sufficient to compare to the current transform: matrix(..) value, but adding in rotations 4*4 = 16 possibilities.

AFAICT, we can either nest elements to chain effects (dummy div?), or we could parse out the values of the matrix change the value that way maybe? That will require me to brush up on my linear algebra ;)

Mattwmaster58 avatar Nov 07 '23 07:11 Mattwmaster58