[Image-SIG] Please, I need help regarding displaying a PIL image in realtime...

kevin@cazabon.com kevin at cazabon.com
Sun Dec 4 14:07:17 CET 2005


Sorry, stupid typo in sizeToMax in the one I sent previously.  Sorry for the
attachments.

Kevin.

----- Original Message ----- 
From: <kevin at cazabon.com>
To: "Nand Rathi" <nand_rathi at yahoo.com>; "python_ImageSig"
<image-sig at python.org>
Sent: Sunday, December 04, 2005 2:00 PM
Subject: Re: [Image-SIG] Please,I need help regarding displaying a PIL image
in realtime...


> This question seems to come up regularly - so here's a quick and dirty
class
> that should work for displaying in Tkinter (cross-platform, although I've
> only tested on Windows).
>
> Kevin.
>
>
>
> ----- Original Message ----- 
> From: "Nand Rathi" <nand_rathi at yahoo.com>
> To: "python_ImageSig" <image-sig at python.org>
> Sent: Saturday, December 03, 2005 2:47 PM
> Subject: [Image-SIG] Please,I need help regarding displaying a PIL image
in
> realtime...
>
>
> Hello All
>
>
>
> I am new to PIL so I apolozize in advance if what I
> ask is irrelevant to PIL. I am working with Python
> 2.4, PIL 1.1.5 in RH Linux and winXP environment.
>
>
>
> My application is collecting realtime data from
> multiple sensors. The data samples arrive on an
> average every 6 to 8 seconds. I need to plot the
> sensor data in realtime for viewing.
>
>
>
> I can use PIL beautifully to create the Images etc of
> the data and also can manipulate the image with the
> fresh arival of sensor data. The problem is viewing or
> displaying the image in realtime.
>
>
>
> File based viewing is inappropraite as well as slow
> here. Image.show method is also inappropriate as it
> will spawn an external process every 6 seconds or so.
> Too slow. In my opinion, what I require is a bitmapped
> graphics capable of rendering a PIL image in realtime
> with a refresh method which can be used to display the
> fresh arrived sensor data. There is a mention of an
> img package by Jack Jensen for X display in PIL
> handbook, but I couldn't locate the package via
> Google.
>
>
>
> Please help me with the direction here. Is there any
> other Python package which will fit the solution? I am
> also open to consider an alternative solution, as long
> as it will allow me realtime plotting of the data.
>
>
>
> I appreciate any help or guidance in this regard.
>
>
>
> regards
>
> Nand
>
>
>
> __________________________________________
> Yahoo! DSL - Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
>
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: showTk.py
Url: http://mail.python.org/pipermail/image-sig/attachments/20051204/c31410e6/showTk.pot


More information about the Image-SIG mailing list