msg555
September 30th, 2005, 03:10 PM
Hmm... This is a little algorithm I wrote for rotating images using the best method i know.
It works really well but is kindof slow (it takes a few seconds for small images and up to a minute for large images) so it isn't fit for on-the-fly rotating.
I tried to put alot of comments in to explain what i'm doing but if you want to know how something works i'll be glad to explain a specific part in more detail. (it uses alot of geometry)
http://www.codeguru.com/forum/attachment.php?attachmentid=12343&stc=1
It works really well but is kindof slow (it takes a few seconds for small images and up to a minute for large images) so it isn't fit for on-the-fly rotating.
I tried to put alot of comments in to explain what i'm doing but if you want to know how something works i'll be glad to explain a specific part in more detail. (it uses alot of geometry)
http://www.codeguru.com/forum/attachment.php?attachmentid=12343&stc=1