[Image-SIG] Screen capture...

Denis spirou@carolo.com
Thu, 26 Apr 2001 04:45:50 +0200


Le Wed, Apr 25, 2001 at 04:15:38PM -0400, Jason Cunliffe pianota:
> ----- Original Message -----
> From: "Denis" <spirou@carolo.com>
> 
> > I'm not a PIL specialist --> my answer is better than no
> > answer, but ...
> > I did a capture app once and I used ImageMagick with
> >
> > os.system("import -frame %s" % filename)
> 
> Hi
> 
> I need to do something like this. Was planning to use PIL or
> a Zope prodcyt liek 'Photo'  so I can capture and
> automatically upload and thumbnail users screens.
> 
> Needs to be very cross platform, opensource..

Open-Source : no problem.
Cross-platform : I don't think ImageMagick would compile on a
Win box.

> I am new to ImageMagick.
> How did you interface it to Python?  ...Details, examples
> welcome

It's just a os.system() call.
For the rest, you have to read the doc of ImageMagick to set
the right command for your needs.
Once you've captured and saved an image file, you can work on
it with PIL or use it in Zope (never used the Photo product you
are speaking of).

> One crazy idea I just had is to look at VNC
> VNC has versatile ways for grabbing screens and section of them.
> An awesome tool. Free...
> Would be great to connect VNC and PIL!

I've played with VNC, but I don't think it would be that easy
to "connect" it to PIL. In my head, it's far from a screen
capture app.

Won't a true guru give his 2 cents here ?

-- 
Denis FRERE
P3B    : Club Free-Pytho-Linuxien Caroloregien http://www.p3b.org
Aragne : Internet - Reseaux - Formations  http://www.aragne.com