Rotating an image in all browsers (canvas in IE?)
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2008-12-13T18:20:46Z
Indexed on
2010/04/16
13:33 UTC
Read the original article
Hit count: 147
I finally got to work with canvas only to find out that it is not implemented in IE. I tried explore canvas from google to use it in Internet Explorer, but it's not working for my code (http://uptowar.com/test.php - little bug though that it is not removing the old image when rotating).
So, is there an other way to smoothly rotate an image around it's bottom center angle? Maybe javascript? Or is there a way to do it with IE and canvas anyway?
Edit: Google Chrome also seems to add an ugly border to the canvas example.. there must be an other smooth way?
Edit2: tried a hacky javascript way: it causes mayor lags and corrupts the image (http://uptowar.com/test2.php), anyone knows of a working method?
© Stack Overflow or respective owner