https://parzibyte.me/blog/2023/03/06/rotar-imagen-navegador-web-javascript-canvas/
Rotar imagen en navegador web con JavaScript y canvas