[Gambas-user] FW: Images from web
Benoit Minisini
gambas at ...1...
Fri Dec 30 16:17:15 CET 2005
On Friday 30 December 2005 15:31, James Wilson wrote:
> -----Original Message-----
> From: James Wilson
> Sent: 29 December 2005 12:04
> To: gambas-user at lists.sourceforge.net
> Subject: Images from web
>
> I am trying to develop a little app in gambas to display images from
> cctv. I have developed a windows Version in .net that gets images
> (jpegs) from a url and this works great. I n .net I use a picturebox
> with the image location set to the correct path. I need to grab a max of
> 2 images per second so ideally do not want to download the image to a
> local file, would prefer to keep it all in memory. This app will run on
> the machine where the cameras are recorded, so the images are in shared
> memory. I'm assuming it will be easier to get the images from the
> webserver than from shared mem, but obviously shared mem would be mo
> efficient. But the images in shared mem are raw, so I'm thinking it will
> be harder that way
>
> Many thanks and happy new year
>
> James
>
What is the size of your image?
I think you can download it to a temporary file (by using 'wget' for example)
without problem.
On my Mandriva system, the /tmp directory is a special file system that uses
the memory and the swap, and so there is no speed loss.
Regards,
--
Benoit Minisini
More information about the User
mailing list