[Gambas-user] Bug: Image.RotateRight rotates left

Matti math.eber at ...221...
Fri Oct 12 20:46:12 CEST 2012


Finally managed to compile rev 5233.

Ok, Right rotates right now.
But there is a strange difference between Left and Right:
Images with transparent parts (tested with .png and .gif) are treated correctly 
when rotating left. But RotateRight cuts the image into pieces and puts them 
together in a wrong way.
Funny - there should be no difference except of the rotation angle.

See attached project with some other images.

Matti


Am 11.10.2012 22:39, schrieb Benoît Minisini:
> Le 11/10/2012 22:28, Matti a écrit :
>> gb3, rev 5196, qt
>>
>> Image.RotateLeft and Image.RotateRight is a nice idea, you don't have to
>> care about Rad(-90) etc anymore.
>>
>> But Left and Right produce the same: they always rotate left.
>>
>> A tiny demo is attached.
>>
>> Matti
>>
>
> Fixed in revision #5233.
>
> Regards,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rotate-0.0.1.tar.gz
Type: application/x-gzip
Size: 165979 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20121012/8d3bdaff/attachment.bin>


More information about the User mailing list