[Gambas-user] Image Fading with gb.image

Benoit Minisini gambas at ...1...
Wed Apr 23 11:37:56 CEST 2008


On mercredi 23 avril 2008, Werner wrote:
> I am trying to gradually fade an image. It does work, however there are
> apparently random artifacts (horizontal white stripes) which spoil the
> effect.
>
> Is there a way to avoid these artifacts?
>
> Using gambas 2.4.1 on opensuse 10.3 on 2 different computers.
>
> Regards,
> Werner Dahn

You see the background of the PictureBox being drawn before the picture is 
refreshed. Don't use a PictureBox to display your image, use a DrawingArea 
instead.

Regards,

-- 
Benoit Minisini




More information about the User mailing list