Rotate-Image-JavaScript A demo of rotating images with JavaScript It can use three ways to rotate an image: Use the transform CSS property. Use Canvas. Use Dynamic Web TWAIN, a document scanning library which has various image processing methods. Online demo