hoverzoom
hoverzoom copied to clipboard
rotate image
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 i suggest you have a look at #774 : implementation of image & video flip.
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 ;)