Truly rotating an image?

Klaus Major klaus at
Fri Jan 16 08:46:43 EST 2009

Hi William,

> Hi all,
> I am trying to rotate a PNG image and having a lot of difficulties  
> with it.
> Of course I tried things like:
> - set the angle of img x to x
> - rotate img x by x
> - set the imageData of image x to the imageData of image x
> What I want is true rotatation. So on mouseclicks the image rotates  
> say like
> 5 degrees each time.
> Is this possible without loosing the quality of the original img?

Hm, are you using Rev 3.x?

In Rev 3 the mothership had revamped the image handling (e.g. angle)
and it (set teh angle of img x to y) works fine for me without the  
need to
set the imagedata again.

> Greetings,
> William


Klaus Major
klaus at

More information about the Use-livecode mailing list