Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4415

PIL Question

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From PyNewbie <ryan.morrone@gmail.com>
Newsgroups comp.lang.python
Subject PIL Question
Date Sun, 1 May 2011 13:50:56 -0700 (PDT)
Organization http://groups.google.com
Lines 13
Message-ID <b1d97f7b-e9be-431e-8e6c-7b4b2e50e67e@glegroupsg2000goo.googlegroups.com> (permalink)
Reply-To comp.lang.python@googlegroups.com
NNTP-Posting-Host 24.172.190.114
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1304283056 29630 127.0.0.1 (1 May 2011 20:50:56 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sun, 1 May 2011 20:50:56 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=24.172.190.114; posting-account=6DZ6hQoAAADINWw2fvG8TzujBE-P3E2P
User-Agent G2/1.0
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4415

Show key headers only | View raw


Hi,

I'm new with Python and PIL. I have a very simple question regarding an image capture function I'm attempting. 

Here is the code:


>>> from PIL import ImageGrab
>>> ImageGrab.grab().save("screen_capture.jpg", "JPEG")

Question: I can't seem to find the captured image, where does it go?  The python Shell IDE does not display an error, and the code appears to have been processed. 

Additional Info: I'm using Python 2.6, and PIL 1.1.7 for Python 2.6 Windows. 

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

PIL Question PyNewbie <ryan.morrone@gmail.com> - 2011-05-01 13:50 -0700
  Re: PIL Question Chris Rebert <clp2@rebertia.com> - 2011-05-01 18:00 -0700
  Re: PIL Question Terry Reedy <tjreedy@udel.edu> - 2011-05-01 22:50 -0400
  Re: PIL Question nirinA raseliarison <nirina.raseliarison@gmail.com> - 2011-05-02 10:48 +0300

csiph-web