[Gambas-user] Image handling ...
Bob Blick
bbblick at ...770...
Sun Jul 15 23:29:42 CEST 2007
Gareth Bult wrote:
> What I'm doing is;
>
> PRIVATE $pic as Picture
>
> Every time an image comes in I call;
>
> File.Save("/tmp/temp",buffer)
> $pic = Picture.Load("/tmp/temp")
> canvas.refresh
>
> Where buffer comes in from the camera over a httpclient connection.
> (and 'canvas' is my drawing area)
>
> Then I have;
>
> PUBLIC SUB canvas_Draw()
>
> draw.Picture($pic,0,0,320,240)
>
> END
>
> .. this works like a charm ..
> (I have buffer = FALSE by the way)
Thanks, I look forward to de-flickering!
Cheerful regards,
Bob
More information about the User
mailing list