![]() |
Image rotation
Hello everybody,
I'm working on a project where we need to rotate an image at 90 degrees. I've got this already written: :
function rotateMyImage() {I've searched on the internet and found out that this code is IE specific. I need something that works at least in IE and Firefox. Can't seem to find anything on the net. Any ideas how to go about this? |
I don't know much about web programming, but how could a method name with 'Microsoft' be in any way portable? Try this code.
|
I've seen this earlier. It's not what I'm looking for. I've to rotate large images and not small icons. And It's written in javascript which is going to be very slow.
|
Well, when in doubt Google. You should use the canvas element on Firefox and Safari, but leave the DirectX functions for IE. See more here: http://cow.neondragon.net/index.php/...ascript?page=6
|
Thanks a lot Game_Ender. It seems the way to go. I'm looking into it now.
|
| All times are GMT -5. The time now is 2:05 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC