[Gambas-user] Image handling ...

Gareth Bult gareth at ...1689...
Thu Jul 12 02:49:59 CEST 2007


Hi, 

I'm working on a CCTV application using AXIS IP cameras and I've managed to display a moving video feed from the camera in a Gambas application. 

I have two questions if anyone can help; 

a. Is there any way of getting a chunk of data acquired off the network into an image without doing; 
File.Save("/tmp/temp") 
obj.Picture.Flush 
obj.Picture = Picture["/tmp/temp"] 
(i.e. directly) 

b. If I display the picture in the root of a Window, it's perfect. 
If I display the image in a PictureBox or a Button, if flickers very badly. 
Is there a trick to double buffering objects inside a window so they don't flicker on update ? 

(if it helps I'm running @ 5fps) 

tia 
Gareth. 


-- 
Gareth Bult, Encryptec Limited 
Tel: 0845 25 77033, Mob: 07891 389657 
Email: gareth at ...1689... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. 



More information about the User mailing list