[Gambas-user] Image Fading with gb.image

Benoit Minisini gambas at ...1...
Wed Apr 23 12:17:08 CEST 2008


On mercredi 23 avril 2008, Benoit Minisini wrote:
> 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,

I have successfully fixed the PictureBox control so that it does not flicker 
anymore, so you will be able to keep it in the next version!

Regards,

-- 
Benoit Minisini




More information about the User mailing list