Page 1 of 1

Mischa's Rotate User Lib in PB 4?

Posted: Wed Dec 13, 2006 6:58 pm
by DevilDog
Hi,
Does anyone know if the image Rotate user lib written by Mischa has been ported to PB 4?

The version on purearea.net does not compile with pb 4, it gives some POLINK errors.

thanks

Posted: Thu Dec 14, 2006 5:56 pm
by DevilDog
OK then.

Can anybody help me with the following:

I have a sprite loaded and I simply want to rotate it x degrees. It could be anywhere from 1 to 359 or in any direction.

There should be a simple way to do this that is not too intensive.

Mischa's lib seemed to be perfect:

RotateImage(#image, angle, transparentcolor)

But like I said, it doesn't compile in PB 4.

Anything like this out there?

Posted: Thu Dec 21, 2006 8:47 pm
by dagcrack
Do you need any type of pixel interpolation on the new calculated image?, Furthermore, do you work with an embedded alpha channel or are you masking by color key?.

Posted: Thu Dec 21, 2006 9:03 pm
by DevilDog
Dagcrack,
Pixel interpolation would be nice and I'm using a color key for masking.